Once upon a time my boss asked me to study if we should use C++ or Erlang for a specialist XML parser to be used in a product (for reasons of speed not energy).
My recommendations was an FPGA
We built an FPGA.
Relative speed of C++/Erlang was irrelevant compared to FPGA.
Should also add that all significant energy gains in the last 50 odd years are result of new hardware NOT software.
Energy usage is *very* complicated - If you want low energy use VLSI or an FPGA and NOT a programming language - true total lifecycle energy costs are very very difficult to calculate - more of a physics/hardware question than a programming problem.
































































