107
submitted 1 year ago* (last edited 1 year ago) by kovalensky@lemmygrad.ml to c/programmerhumor@lemmy.ml

2020 study pdf.

After seeing this a couple years ago I started to be more responsible for my PHP code, writing it even with the slightest micro-optimizations possible, since more times people use my code (especially due to nature of PHP being executed in every http request), more energicity they waste because of my lazyness and more they pollute the planet. JIT was NOT included in this experiment, so the number can be much more lower.

I hope you will be responsible for your code so on too (generally I mean people using interpreted languages).

you are viewing a single comment's thread
view the rest of the comments
[-] words_number@programming.dev 11 points 1 year ago* (last edited 1 year ago)

The JS one is not surprising at all. There's no other loosely typed multi-paradigm scripting language where such insane shitloads of money and developer time have been spent for optimizing its execution (by some of the largest tech companies). Kinda funny considering that the language design is complete horse shit.

Your 2nd point is really quite surprising. I also wouldn't have thought that java would beat Go in both energy and time by that margin!

this post was submitted on 28 Oct 2023
107 points (95.7% liked)

Programmer Humor

32483 readers
166 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS