Post #2016505
2026-04-17 19:39 UTC
@katzenmann Rust has dynamic linking. It doesn't have a stable ABI. It has a ABI, but its not stable, meaning the components have to be compiled by the same compiler version on the same machine to reasonably expect them to work. It also supports the C ABI in that you can write code for it, and theres multiple third-party ones like stabby.
Its not a great state to be in, but its slightly better than "no dynamic linking" as you claimed
also, multiple megabytes binary sizes are not inherently gonna happen. embedded development would be impossible if that was the case
Replies (1)
-
@katzenmann@c3d2.social 2026-04-17 21:14
@laund Please read my other toots below the main one. I am aware that rust supports dynamic linking. The multiple megabytes binary size figure comes from an app I made using libcosmic, which is ~25 MB stripped. This is not inherent to rust but it is because all the libraries are statically linked in.