Skip navigation
Js people: Ok your language is actually fast
0:00 / 0:28

Js people: Ok your language is actually fast

Ben Dicken

@BenjDicken52K followers

Visit on X
1,419 likesDownloadOriginal post

492,110 views

Js people: Ok your language is actually fast Python people: Come defend your language Go people: Needs more optimizations C people: Don't worry. If you enable the optimizer, this thing goes BRRRRRRRRRRRR.

11 Comments

Comments from the original post on X (Twitter)

  • Ben Dicken's profile picture

    @BenjDicken

    More details are here:

    36 likes

  • Tobias_Petry.sql's profile picture

    @tobias_petry

    > C people: Don't worry. If you enable the optimizer, this thing goes BRRRRRRRRRRRR. But you actively DISABLED the optimizer. So while any other language can use its dynamic optimization, the C one is now running unoptimized.

    130 likes

  • Ben Dicken's profile picture

    @BenjDicken

    Good observation. I noted in the methodology section: > Clang with -O1 optimized away the loop and was way faster than everything else (see I did try it, it was just so fast it would have looked odd in this comparison.

    40 likes

  • Erik's profile picture

    @ErikHofvander

    If we break both of Usain Bolt's legs at the starting line, the other racers can have a chance!

    95 likes

  • Ben Dicken's profile picture

    @BenjDicken

    If by Usain Bolt you mean C then yeah, pretty much!

    15 likes

  • Andreas Klinger 🦾's profile picture

    @andreasklinger

    Ruby: add an extra server and move on

    82 likes

  • Ben Dicken's profile picture

    @BenjDicken

    Precisely.

    3 likes

  • Karol's profile picture

    @Karol52964583

    I have never seen code in production compiled with -O0. For debugging purposes sure, but not for production.

    57 likes

  • Ben Dicken's profile picture

    @BenjDicken

    Had to majorly handicap C to make it a fair fight.

    70 likes

  • Holly Guevara's profile picture

    @hollylawly

    the python community will never recover from this

    32 likes

  • Ben Dicken's profile picture

    @BenjDicken

    So far, the python community is not very loud.

    6 likes