2026-10-26 10:46 UTC
Replies (1)
-
@Ferk@lemmy.ml 2026-10-26 15:28
I think one of the reasons why this is not done is because Rust deliberately pushes away from relying on precompiled binaries. Unlike traditional C compilers, for the Rust compiler trying to keep ABI compatibility is a non-goal… the Rust compiler retains the freedom to aggressively optimize how data is laid out in memory and how functions are called. So the binaries generated by one version of the compiler might not work in the next version… making it much harder to work the way we work with C. This means managing dependencies between rust libraries is a lot more involved… since you are essentially recompiling the library along with your project, so you need a way to download, not just the library headers as you would with C, but its entire sourcecode.