Ivan, the Language Mangler 🦀 on Nostr: Faster linking times on nightly on Linux using `rust-lld, . > Here are more details ...
Faster linking times on nightly on Linux using `rust-lld,
https://blog.rust-lang.org/2024/05/17/enabling-rust-lld-on-linux.html.
> Here are more details from the ripgrep example mentioned above: linking is reduced 7x, resulting in a 40% reduction in end-to-end compilation times
tl;dr: Rust now packages a rust-lld linker (it’s LLVM’s lld), and uses it on Linux by default on nightly, which decreases compilation time greatly.
#RustLang #linker #performance
Published at
2024-05-18 07:35:07Event JSON
{
"id": "43564ee9fdb96f7096cb487016b482e34877e0996b47cd36bb81c7097145abf3",
"pubkey": "12ee87ca4a580bde36034fabc1344e013bfa7943c4749d5fc530094f642052ca",
"created_at": 1716017707,
"kind": 1,
"tags": [
[
"t",
"rustlang"
],
[
"t",
"linker"
],
[
"t",
"performance"
],
[
"proxy",
"https://fosstodon.org/users/hywan/statuses/112460936495240100",
"activitypub"
]
],
"content": "Faster linking times on nightly on Linux using `rust-lld, https://blog.rust-lang.org/2024/05/17/enabling-rust-lld-on-linux.html.\n\n\u003e Here are more details from the ripgrep example mentioned above: linking is reduced 7x, resulting in a 40% reduction in end-to-end compilation times\n\ntl;dr: Rust now packages a rust-lld linker (it’s LLVM’s lld), and uses it on Linux by default on nightly, which decreases compilation time greatly.\n\n#RustLang #linker #performance",
"sig": "3f6e3f59c4ea0d80ecd28e5b42314e7ddda6ffcc4f5ad0d8231c6d34e8e23841cc299627da6bca788cab494ec0e9f004a0af7c47a914ce2be7d1f4f8b8e6a3a4"
}