3 ms·
There are compiler research projects to build power optimizing compilers rather than just pure performance optimizing compilers. I was going to post a link or
by Nelson69 17y ago
There are compiler research projects to build power optimizing compilers rather than just pure performance optimizing compilers. I was going to post a link or two but when I googled I found dozens and dozens of them, so take your pick.
I don't have a good idea of what kind of difference that they can make yet. The article's whole premise seems to be that C++ code is linearly faster than Java code so that linear difference must also be there for power consumption. The differences in power consumption for memory are pretty small. We'd need some numbers to judge whether or not that's interesting and it'd also be interesting to see a JVM optimized for power consumption and how that factored in to the equation. The disk usage is probably the largest user of energy in these systems, presumably a C implementation and Java implementation would use the same disk layout so disk usage should be roughly the same.
The hyptertable guys think the performance differences are worth it to use C/C++ but they don't mention power consumption differences.