Post #2016489
2026-04-17 08:32 UTC
@_ Not really. There are great rust crates like wgpu or reqwest which work well because they expose a rusty API. That would be lost going through a C ABI.
My vision of the future would be:
- Rust getting a stable ABI (like crABI)
- Popular rust libraries implementing that ABI so that they can be compiled to a shared object
- Linux distros vetting those rust libraries and packaging them as they do with C and C++ libraries
- Applications being able to depend on those system-installed libraries and maybe statically compiling in smaller dependencies
Replies (2)
-
@michalfita@mastodon.social 2026-04-17 13:06
@katzenmann @_ That last point if done wrong may end up a disaster...
-
@federico3@oldbytes.space 2026-04-18 15:18
@katzenmann @_ Debian already provides 4k Rust crates in Sid and Cargo is able to use OS-provided crates.