1. 1
  1.  

  2. 3

    (Assuming this isn’t an April Fools prank) Sounds cute, but where is the proof? And where is the line drawn? Who is to say the common style of orchestrating in a higher level language and doing native calls to C isn’t more energy efficient. If you’re going to validate making a decision using science, you better have science to back it up.

    1. 1

      Using C++ wasn’t the important detail. You could use Haskell, LuaJit, Javascript, or Ocaml. The important detail was that the decision was beyond technical.

      If you could write, for example, some budgeting software that keeps people from buying crap you don’t need, does it matter that it is written in interpreted BASIC?

      I used C++ as a real world example to a specific situation. The software was going to be computationally demanding and C++, along with the right algorithms, will have a higher performance per watt than Java here. We can talk about the efficiencies, or inefficiencies of making JNI calls, but really that isn’t the point here.

    2. 2

      I’m curious, Is this something people here about when they make their tech choices?

      1. 1

        climate change? maybe not. but electricity costs (or cooling capacity) are a major concern for large companies like facebook (which they can then advertise as being green).

        Cooling capacity is a concern for even small companies, I’d say, though I think it gets lost in the noise. You may be able to run two or four servers onsite in a spare closet without overheating, but not ten or twenty.