News for hackers. Stuff that matters.
Re:A Few More Reasons Rust Compiles Slowly by fsociety on Monday June 29, 2020 @02:10PM (#23680386)
I think it’s more of a question for compiling programs with LOC in the millions. The compile times for projects like LLVM, Chromium, and Tensorflow for example are disgusting.
Re:A Few More Reasons Rust Compiles Slowly by dkarlovi on Monday June 29, 2020 @02:16PM (#23680481)
What's the rough scale of "disgusting" here?
Re:A Few More Reasons Rust Compiles Slowly by chubot on Monday June 29, 2020 @02:27PM (#23680654)
One observation on LLVM

Building LLVM from source, I was told in another forum, took 26 minutes across 16 cores on a top-end machine (ie. several hours on one core). I guess I don't need to build LLVM(?)

https://old.reddit.com/r/ProgrammingLanguages/comments/hhxis...

Re:A Few More Reasons Rust Compiles Slowly by oldmanhorton on Monday June 29, 2020 @04:05PM (#23682042)
Chromium will easily take 5 or 6 hours for a clean build on a good professional workstation (i7/i9/low end xeon, 32-64GB RAM, nvme ssd).
Re:A Few More Reasons Rust Compiles Slowly by sgerenser on Tuesday June 30, 2020 @08:57AM (#23689525)
This guy did it in 53 minutes on a 16-core 3950x with a fast ssd: https://textslashplain.com/2020/02/02/my-new-chromium-build-...

Not fast by any means but big difference between 6 hours and 1.

Re:A Few More Reasons Rust Compiles Slowly by floatboth on Monday June 29, 2020 @09:24PM (#23685521)
How?!

I can build LLVM, Rust and Firefox in less time on my R7 1700.

How is Chromium so bloated??

Re:A Few More Reasons Rust Compiles Slowly by Bjartr on Tuesday June 30, 2020 @12:31AM (#23686585)
Is guess because Google devs have Google infrastructure to accelerate & paralellize builds in a distributed manner. Build time ends up being a pretty low priority to improve when the primary contributors to the project don't have a problem with it.
Re:A Few More Reasons Rust Compiles Slowly by secondcoming on Monday June 29, 2020 @02:36PM (#23680769)
It took my 4-core i4790K ~4 hours to compile tensorflow. Part of the build process builds LLVM...
Re:A Few More Reasons Rust Compiles Slowly by sangfroid_bio on Monday June 29, 2020 @02:26PM (#23680639)
Compilation speed comparable to template heavy C++, a large difference compared to Go for similarly sized projects
Re:A Few More Reasons Rust Compiles Slowly by rapsey on Monday June 29, 2020 @02:34PM (#23680746)
Chromium 5h+
Re:A Few More Reasons Rust Compiles Slowly by rurban on Monday June 29, 2020 @03:13PM (#23681321)
Like with Scala. Over 5 minutes for normal executable sizes.