Back to all stories
Lobstersseen ×5

systemd loves Rust(amutable.com)

The systemd project has merged support for the Rust programming language, allowing developers to write systemd components in Rust in addition to C. However, Rust will only be used for "leaf binaries" that do not require shared library support, while the shared library will remain in C due to the complexities of achieving stable ABI (Application Binary Interface) support in Rust. This decision enables the use of Rust for certain components while avoiding the issue of duplicated code and bloat that would result from static linking, with the hope that future developments in Rust will address the stable ABI problem and enable more widespread adoption in systemd.