News for hackers. Stuff that matters.
Re:Zed is now available on Windows by ben-schaaf on Thursday October 16, 2025 @04:28AM (#45602833)
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 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.

Re:Zed is now available on Windows by kibwen on Thursday October 16, 2025 @09:27AM (#45605101)
> The reason Zed has a bloated binary is the ~2000 rust packages that comprise it.

Hundreds of those MBs are from tree-sitter grammars, which are JavaScript compiled to C.