Comment by cozzyd
2 months ago
Git is already an uncomfortably large binary for embedded applications. Rust binaries tend to be even more bloated.
2 months ago
Git is already an uncomfortably large binary for embedded applications. Rust binaries tend to be even more bloated.
Why would you want to run a VCS in an embedded application? Any halfway usable development platform (even VIM) will be much bigger anyways.
It is sure convenient to be able to use git (and vim!) on embedded Linux. You can get by without them of course...
Yes, Hello World is 10MB in Rust even when optimizing for size. Hello World in C is 16kB, even after static linking everything including GNU libc, it's only 810kB. I really wonder what that large program does.
This program is still dynamically linked:
Not sure, why it needs all these dependencies, this is C Hello World:
And I think the C binary is already bloated.
To stress it again: The Rust Hello World program is 2.5-times larger then the whole Git executable with functionality of 20 years!