(no title)
miffy900 | 4 months ago
Also after install, the install directory takes up 400MB+. Even VSCode only takes up around 380MB. I believe it when they say it's not an Electron app, but I do wonder what's being packed in there. I was always under the impresion that Rust apps are pretty lightweight, but that install size is nearing Java levels of binary/dependency bloat.
bdhtu|4 months ago
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.
andrewl-hn|4 months ago
markus_zhang|4 months ago
wseqyrku|4 months ago
For me, as long as it's better than alternatives it's good enough. Especially if it's not running JS.
neobrain|4 months ago
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.
johnisgood|4 months ago
Any explanations as to why "cargo" does not seem to re-use libraries (dependencies) in a shared directory, or why it needs >2000 dependencies (that I see being downloaded and compiled), or why the executable file of the release mode is 1.4G unstripped while of the debug one it is less?
torginus|4 months ago
WD-42|4 months ago
tremarley|4 months ago
This needs to be justified asap to help people understand and reconsider installing it.
landr0id|4 months ago
hdjrudni|4 months ago
897MB! But it appears to have installed itself twice for some reason. Maybe one is an 'update' which it didn't clean up...? I'm not sure.
Edit: I just opened it and it cleaned itself up. 408MB now. I guess it was in the process of upgrading.
juliangmp|4 months ago
bowsamic|4 months ago
I'm not sure what gave you that impression. I'd say Rust is pretty well known for fat binaries
kibwen|4 months ago
1718627440|4 months ago
ben-schaaf|4 months ago
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 debug info stripped.
Yes rust (like C++) tends to produce larger binaries than C, but lets be real here: The reason Zed has a bloated binary is the ~2000 rust packages that comprise it.
ChrisSD|4 months ago
vga42|4 months ago
[deleted]
timeon|4 months ago
adastra22|4 months ago
Maybe compared to electron, but binary size is an issue with any nontrivial rust application. Due to how cargo works, it compiles and bundles in every dependency in world.
400MB is unnecessarily large though.
unknown|4 months ago
[deleted]
TiredOfLife|4 months ago
Half of Electron namely Node.js. As majority of lsp are .js based. Also extensions are WASM. Also VS Code keeps extensions in separate config directory, while Zed in main directory.
unknown|4 months ago
[deleted]
andrewmcwatters|4 months ago
gethly|4 months ago
400 mb for new project in this amazing bestest compiled language ever made is ridiculous.