Now considering we have a ram shortage can someone riddle me this:
When a C/++ app links to 20 libraries, totalling 200MB, and you launch two of them (or another app that links to the same libraries), you will be using 200MB for libraries. Those are cached by the kernel and reused.
Buuut... since Rust has no libraries, if two Rust apps link against the same 200MB of libraries... they won't be reused, and thus more RAM usage.
No? Does Rust do anything to improve this situation? I can see a lot of libraries in the C world linked by a lot of processes (glibc, stdlibc++, chromium stuff, gtk, qt, etc) where this optimization is very useful for minimizing RAM usage.






