News for hackers. Stuff that matters.
Re:A Not-Called Function Can Cause a 5X Slowdown by wtallis on Tuesday December 04, 2018 @03:24AM (#18597452)
Do you know of a build system that can handle a source tree as large as an entire web browser without spawning a lot of processes?

It's hard to tell what, if anything, you are recommending here. Pass thousands of files to a single compiler invocation? Ignore the problems and stop trying to make process creation and clean-up faster?

[dead]
Re:A Not-Called Function Can Cause a 5X Slowdown by Dylan16807 on Tuesday December 04, 2018 @04:10AM (#18597728)
> Are they employing caching of binaries/object files? Are they running a continuous build? Which parts of the build actually take the most time to go through? Can they benefit from building concurrently on multiple machines?

So you're suggesting things they already do.

And if you're using multiple machines, you probably want to max out each machine, so it matters a lot if there's code that falls over and dies when applied to a large number of cores.

Re:A Not-Called Function Can Cause a 5X Slowdown by im3w1l on Tuesday December 04, 2018 @03:30AM (#18597491)
> Pass thousands of files to a single compiler invocation?

Sure. Or pass it a file with all the filenames. Or have the compiler work as a server that takes compilation requests over a socket. It's not like passing thousands of filenames between two processes is a deep unsolved problem.

Re:A Not-Called Function Can Cause a 5X Slowdown by gpderetta on Tuesday December 04, 2018 @03:47AM (#18597586)
Or just spawn thousands of processes which has been done for the last 40 years without particular issues.
Re:A Not-Called Function Can Cause a 5X Slowdown by mannykannot on Tuesday December 04, 2018 @08:48AM (#18599356)
So, the solution to concurrency problems is to serialize everything?
Re:A Not-Called Function Can Cause a 5X Slowdown by fit2rule on Tuesday December 04, 2018 @10:17AM (#18600106)
"Concurrency is everything serialised, properly."
Re:A Not-Called Function Can Cause a 5X Slowdown by mannykannot on Tuesday December 04, 2018 @11:53AM (#18601139)
The posts we are replying to here seem to have a very narrow concept of what 'properly' entails in this case.