Hacker News new | past | comments | ask | show | jobs | submit login

Looking forward to the days I can compile code with a "-Oe" to optimize for energy efficiency. ;-)



You laugh. Between servers and mobile that option is long overdue.


Oh, it'd be nice, but it probably makes more sense to have handle that kind of thing with a JIT runtime.


I'm surprised I got downgraded. What is most power efficient varies a lot not just based on machine, but based on the machine context.


-O3 is probably an excellent approximation. Faster programs tend to use less energy.


Not necessarily true. Please check: http://arcade.cs.columbia.edu/energy-oopsla14.pdf


-O3 unlocks a number of optimizations that are kind of the opposite of power efficient... at least, depending on the CPU that executes them.


Spin locks are not very power efficient.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: