News for hackers. Stuff that matters.
Re:C++ vs. Rust Build Times by fooker on Friday January 06, 2023 @02:19AM (#34271883)
There are linkers which are significantly faster than the ones used by default.

Gold and bfd are two examples.

I use these for development and then test with the default linker just in case there’s some subtle issue hiding somewhere.

Re:C++ vs. Rust Build Times by berkut on Friday January 06, 2023 @02:28AM (#34271932)
Gold's pretty slow by today's standards! - it was fast in say 2009 compared to ld, but not really anything to write home about these days.

lldb and mold (mentioned in article) are much faster.

Re:C++ vs. Rust Build Times by fooker on Friday January 06, 2023 @02:30AM (#34271942)
Gold is marginally faster than ld and uses significantly less memory when building large-ish projects like LLVM.
Re:C++ vs. Rust Build Times by jhasse on Friday January 06, 2023 @07:59AM (#34274148)
And lld is faster than gold. And mold is faster than lld.
Re:C++ vs. Rust Build Times by jhasse on Friday January 06, 2023 @07:59AM (#34274143)
I think you meant lld instead of lldb (which is LLVM's debugger).
Re:C++ vs. Rust Build Times by berkut on Friday January 06, 2023 @12:15PM (#34277586)
Yes, muscle memory :)