Earlier quoted context omitted.
> I was always under the impresion that Rust apps are pretty lightweight, but that install size is nearing Java levels of binary/dependency bloat. For what it's worth, the zed executable on Linux weighs 3.2 MB. EDIT: Sorry, the nix store is too good at hiding things from me. It's actually around 337 MB plus webrtc-sys.
What does a desktop text editor have to do with WebRTC?
Zed is now available on Windows
301–310 of 386 posts
Re: Zed is now available on Windows
#302Earlier quoted context omitted.
A 400mb+ install of bloat will upset many people This needs to be justified asap to help people understand and reconsider installing it.
Strangely it's the actual binary's .text section that's about 400MB. Time to dive in!
> At this time, we prioritize performance and out-of-the-box functionality over minimal binary size. As is, this issue isn't very actionable, but if you have concrete optimization ideas that don't compromise these priorities, we'd be happy to consider them in a new issue.
Re: Zed is now available on Windows
#303Earlier quoted context omitted.
"Order of magnitude", so you're saying the neural feedback loop latency is >100ms? That seems obviously wrong. Also you can absolutely feel the visual difference between 60Hz (~16ms) and 120Hz (~8ms), and for audio it's even more nuanced. Just because studies don't back this up yet doesn't make it false. I imagine this is really hard to measure accurately, and focusing only on neuron activity seems misguided too. Our…
> "Order of magnitude", so you're saying the neural feedback loop latency is >100ms? That seems obviously wrong. Human neural feedback loop latency is a range that varies widely depending on the type of loop involved. Reflex loops are fastest, operating in tens of milliseconds, while complex loops involving conscious thought can take hundreds of milliseconds. Short-latency reflex: 20-30ms. Signal travels through spin…
The first test was the simple one-light-one-button test. I found that I had reaction time somewhere in the 220-270ms range. Pretty much what you'd expect.
The second test was a sound reaction test: it makes a noise, and I press the button. I don't remember the exact times, but my reaction times for audio were comfortably under 200ms. I was surprised at how much faster I was responding to sound compared to sight.
The last test was two lights, and two buttons. When the left light came on I press the left button; right light, right button. My reaction times were awful and I was super inaccurate, frequently pressing the wrong button. Again, I don't remember the times (I think near 400ms), but I was shocked at how much just adding a simple decision slowed me down.
Re: Zed is now available on Windows
#304Earlier quoted context omitted.
Tbh though, is subpixel text rendering really all that important anymore when high resolution monitors are common now and low-dpi is the exception?
You should get outside your major metropolis and highly paid Western job once in a while. High-DPI monitors are the exception for most of the world.
Re: Zed is now available on Windows
#305Earlier quoted context omitted.
> I was always under the impresion that Rust apps are pretty lightweight, but that install size is nearing Java levels of binary/dependency bloat. For what it's worth, the zed executable on Linux weighs 3.2 MB. EDIT: Sorry, the nix store is too good at hiding things from me. It's actually around 337 MB plus webrtc-sys.
I just compiled "zed" with "cargo build --release" and not only did it pull >2000 dependencies, its size (executable file) is literally 1.4G. Debug is 1.2G. $ pwd /tmp/zed/target/release $ ls -lh ./zed -rwx------ 2 john john 1.4G Aug 28 17:10 zed --- $ dut zed/ | sort -h 598M 0B | | /- webrtc-sys-0a11149cbc74bc90 598M 0B | | | /- out 598M 0B | | |- webrtc-sys-090125d01b76a5e8 635M 160M | | /- s-hal7osjfce-1h7vhjb-4bd…
Re: Zed is now available on Windows
#306Just wanted to mention that some basic Windows-OS keyboard shortcuts don't work, like ALT+F to open the File menu. Also things like ALT+SPACEBAR to bring up the system context menu for the focussed window (the menu with maximise, minimise, close options etc.) do not seem to work. I'm guessing with the DirectX rendering backend, the 'app' is rendered more akin to a video game than a native win32 process. Also after in…
Compared to Sublime Text: RAM: 213 MB Zed 41 MB ST Storage: 406 MB Zed 52 MB ST Startup time: Zed is slower than ST (but only by a few milliseconds). Also when you reopen ST it will remember how you've resized the window from last time whereas Zed won't.
Re: Zed is now available on Windows
#307Earlier quoted context omitted.
> I was always under the impresion that Rust apps are pretty lightweight, but that install size is nearing Java levels of binary/dependency bloat. For what it's worth, the zed executable on Linux weighs 3.2 MB. EDIT: Sorry, the nix store is too good at hiding things from me. It's actually around 337 MB plus webrtc-sys.
I just compiled "zed" with "cargo build --release" and not only did it pull >2000 dependencies, its size (executable file) is literally 1.4G. Debug is 1.2G. $ pwd /tmp/zed/target/release $ ls -lh ./zed -rwx------ 2 john john 1.4G Aug 28 17:10 zed --- $ dut zed/ | sort -h 598M 0B | | /- webrtc-sys-0a11149cbc74bc90 598M 0B | | | /- out 598M 0B | | |- webrtc-sys-090125d01b76a5e8 635M 160M | | /- s-hal7osjfce-1h7vhjb-4bd…
Re: Zed is now available on Windows
#308Just wanted to mention that some basic Windows-OS keyboard shortcuts don't work, like ALT+F to open the File menu. Also things like ALT+SPACEBAR to bring up the system context menu for the focussed window (the menu with maximise, minimise, close options etc.) do not seem to work. I'm guessing with the DirectX rendering backend, the 'app' is rendered more akin to a video game than a native win32 process. Also after in…
> I was always under the impresion that Rust apps are pretty lightweight I'm not sure what gave you that impression. I'd say Rust is pretty well known for fat binaries
Re: Zed is now available on Windows
#309Just wanted to mention that some basic Windows-OS keyboard shortcuts don't work, like ALT+F to open the File menu. Also things like ALT+SPACEBAR to bring up the system context menu for the focussed window (the menu with maximise, minimise, close options etc.) do not seem to work. I'm guessing with the DirectX rendering backend, the 'app' is rendered more akin to a video game than a native win32 process. Also after in…
Compared to Sublime Text: RAM: 213 MB Zed 41 MB ST Storage: 406 MB Zed 52 MB ST Startup time: Zed is slower than ST (but only by a few milliseconds). Also when you reopen ST it will remember how you've resized the window from last time whereas Zed won't.
Re: Zed is now available on Windows
#310Earlier quoted context omitted.
Rust Hello World is larger than Git. Still smaller than Java and Electron, but not exactly small.
Entirely untrue. Download git, run make and you'll get a 19MB `git` binary along with a whole lot of other 19MB binaries. Running `cargo build` produces a 3.8MB binary. And that's still comparing apples to oranges, because git is compiled with full optimizations. Running `cargo build --release` produces a 462KB binary. Even if I'm comparing to my system's git installation, that's still 3.9MB, and that's with all the…
Hundreds of those MBs are from tree-sitter grammars, which are JavaScript compiled to C.