News for hackers. Stuff that matters.
Re:Lightweight API Design in Swift by ajconway on Tuesday November 26, 2019 @05:45AM (#21637127)
But run-time is more important, isn't that why we compile stuff with optimizations that take ages to process when building products for the end users?

Compilers are hard, compiler bugs can have a devastating effect on one's software, so it's understandable that developers may prefer to take things slow but safe.

Re:Lightweight API Design in Swift by Gibbon1 on Tuesday November 26, 2019 @06:14AM (#21637280)
My half joke is the optimizations slow down compilers. So people then try to make the compilers faster by increasing the levels of optimization. Which means they have to work harder. So they are slower.
Re:Lightweight API Design in Swift by skohan on Tuesday November 26, 2019 @05:50AM (#21637152)
I guess ideally this should be a tradeoff in the hands of the developer right? I should be able to produce debug builds quickly so that I can iterate quickly, and if I want a super-optimal release build it's fine if it takes longer.