News for hackers. Stuff that matters.
Re:Future Directions for Optimizing Compilers by userbinator on Monday September 10, 2018 @07:03AM (#17950850)
We now have machines that are fast enough for many/most activities, as evidenced by production code that's written in Ruby, Python, JS, etc. For these we don't really need optimizations.

Only if you think that things like power savings and being able to run more on the same hardware are not important.

https://en.wikipedia.org/wiki/Wirth%27s_law

Re:Future Directions for Optimizing Compilers by mpweiher on Monday September 10, 2018 @07:23AM (#17950932)
Oh, I think these things are important, but it's obvious that mine is not a majority opinion, otherwise pretty much all Python code would be running on PyPy, for example and there would be very little Rails in production.

So machines are fast enough that a lot of people are happy making that trade-off, and it's hard to argue that they're all wrong.

And of course they are also fast enough on single user machines (PCs, phones, tablets) that typical frameworks and 'best practices' often waste orders of magnitude of performance and developers don't even know or care to find out, and if they find out don't care enough to fix it.

Re:Future Directions for Optimizing Compilers by jcelerier on Monday September 10, 2018 @08:33AM (#17951306)
> Oh, I think these things are important, but it's obvious that mine is not a majority opinion, otherwise pretty much all Python code would be running on PyPy, for example and there would be very little Rails in production.

Pretty much everyone agrees that climate change is bad but if you base your ... say, meat consumption or car usage on what others do you are going to wait a long time

Re:Future Directions for Optimizing Compilers by pcwalton on Monday September 10, 2018 @02:31PM (#17953918)
This ignores the rule of thumb that 90% of CPU time is spent in 10% of the code. It is completely pointless to optimize most high-level glue logic, for instance: even making it run 10x faster produces insignificant performance and power savings.