Loading video...

Video Failed to Load

Go Home

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.

491,988 views • 1 year ago •via X (Twitter)

11 Comments

Ben Dicken's profile picture
Ben Dicken1 year ago

More details are here:

Tobias_Petry.sql's profile picture
Tobias_Petry.sql1 year ago

> 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.

Ben Dicken's profile picture
Ben Dicken1 year ago

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.

Erik's profile picture
Erik1 year ago

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

Ben Dicken's profile picture
Ben Dicken1 year ago

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

Andreas Klinger 🦾's profile picture
Andreas Klinger 🦾1 year ago

Ruby: add an extra server and move on

Ben Dicken's profile picture
Ben Dicken1 year ago

Precisely.

Karol's profile picture
Karol1 year ago

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

Ben Dicken's profile picture
Ben Dicken1 year ago

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

Holly Guevara's profile picture
Holly Guevara1 year ago

the python community will never recover from this

Ben Dicken's profile picture
Ben Dicken1 year ago

So far, the python community is not very loud.

Related Videos