A JavaScript developer, a Python developer, a C++ developer, and 97 PHP developers enter a bar.

The barman asks, “What can I get ya, fellows?”

The PHP developers say they’ll make their orders later. The barman turns to the JavaScript developer and asks him for his order.

“I’ll have a beer.” The JavaScript developer replies, and the barman turns around and quickly serves him a bottle.

The PHP developers start singing loudly: “99 bottles of beer on the wall, 99 bottles of beer. Take one down and pass it around, 98 bottles of beer on the wall.”

The barman feels a headache coming on. He ignores them and asks the Python developer what she’ll have. He cringes internally when the woman orders a beer as well.

Quickly, he serves her a beer.

“98 bottles of beer on the wall, 98 bottles of beer. Take one down and pass it around, 97 bottles of beer on the wall.”

The PHP developers finish singing the next verse. The barman, now incensed, looks at the PHP developers and asks why they’re doing this.

“We heard there’s strength in numbers.”

The barman scowls and turns to C++ developer with a sigh, “What about you then? What can I get ya?”

The C++ developer sighs, “I’ll have 97 bottles of beer.”

  • lad@programming.dev
    cake
    link
    fedilink
    English
    arrow-up
    0
    ·
    19 days ago

    Maybe also the fact that PHP interpreter is written in C and a bit of C++, so C kind of “does everything for them”

    Still, this makes no sense since most JS engines are written in C++, and Python is the only one more or less self-sufficient, albeit major implementations often use other languages as a source. And because it should’ve been C, not C++

    • Redjard@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      19 days ago

      PHP has ben JITed for a while now too.
      I don’t recall it being known as slow compared to python even before that.