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
[-] wim@lemmy.sdf.org 2 points 1 year ago

Odd to see the gap between C and Pascal this big. Is this a matter of lacking optimization effort for less popular languages?

[-] spauldo@lemmy.ml 1 points 1 year ago

That, and they might be using Object Pascal. I don't know (I haven't touched Pascal in thirty years) but I would not be surprised if there's some overhead there.

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

Programmer Humor

32558 readers
565 users here now

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

Rules:

founded 5 years ago
MODERATORS