正在加载视频...

视频加载失败

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 次观看 • 1 年前 •via X (Twitter)

11 条评论

Ben Dicken 的头像
Ben Dicken1 年前

More details are here:

Tobias_Petry.sql 的头像
Tobias_Petry.sql1 年前

> 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 的头像
Ben Dicken1 年前

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 的头像
Erik1 年前

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

Ben Dicken 的头像
Ben Dicken1 年前

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

Andreas Klinger 🦾 的头像
Andreas Klinger 🦾1 年前

Ruby: add an extra server and move on

Ben Dicken 的头像
Ben Dicken1 年前

Precisely.

Karol 的头像
Karol1 年前

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

Ben Dicken 的头像
Ben Dicken1 年前

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

Holly Guevara 的头像
Holly Guevara1 年前

the python community will never recover from this

Ben Dicken 的头像
Ben Dicken1 年前

So far, the python community is not very loud.

相关视频