News for hackers. Stuff that matters.
Re:What part of Rust compilation is the bottleneck? by pjmlp on Saturday March 16, 2024 @08:01AM (#39725131)
Kind of, despite its slow builds fame, it is possible to have relative fast builds in C++ with monomorphization.

By using binary libraries, external templates for common type sets, incremental compilation and linking, and nowadays (at least for VC++ already) modules.

What Rust still lacks is having sound alternatives to LLVM, or someone supporting similar workflows in Rust.

Using OCaml as an example, it is great to have multiple backends in the box, plus an interpreter, and pick and choose during development workflows.

Re:What part of Rust compilation is the bottleneck? by sigsev_251 on Saturday March 16, 2024 @10:29AM (#39726269)
Maybe cranelift will help with this. Faster compile times is one of its selling points.
Re:What part of Rust compilation is the bottleneck? by pjmlp on Saturday March 16, 2024 @01:00PM (#39727517)
That is something that I also look forward to.