Comment by johnisgood
2 months ago
I will leave this here for the future:
$ ldd /usr/bin/git
linux-vdso.so.1 (0x00007f69c2d64000)
libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007f69c2c81000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f69c2c67000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f69c2616000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f69c2d66000)
$ ls -alh /usr/bin/git
-rwxr-xr-x 1 root root 4.0M Aug 25 11:40 /usr/bin/git
I did not measure but it does not take long on my old hardware to compile git from scratch either, for now.
Ok, I'll bite.
While we are on Hacker News, this is still an enormously obtuse way to communicate.
Are you saying that as users of git we will be negatively affected by deps being added and build times going up? Do you have evidence of that from past projects adding rust?
Why not just say that??
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.
1 reply →
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!
No need to bite. :P
We will see!
See what? Why are you vague-posting?
1 reply →