cross-posted from: https://lemmy.world/post/31184706

C is one of the top languages in terms of speed, memory and energy

https://www.threads.com/@engineerscodex/post/C9_R-uhvGbv?hl=en

you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 year ago (4 children)

Does the paper take into account the energy required to compile the code, the complexity of debugging and thus the required re-compilations after making small changes? Because IMHO that should all be part of the equation.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 11 points 1 year ago (2 children)

    It's a good question, but I think the amount of time spent compiling a language is going to be pretty tiny compared to the amount of time the application is running.

    Still - "energy efficiency" may be the worst metric to use when choosing a language.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 5 points 1 year ago

    They compile each benchmark solution as needed, following the CLBG guidelines, but they do not measure or report the energy consumed during the compilation step.

    Time to write our own paper with regex and compiler flags.

  • source
  • parent