正在加载视频...

视频加载失败

did a speed test of different programming languages. from python to assembly

47,315 次观看 • 1 个月前 •via X (Twitter)

32 条评论

何 的头像
何1 个月前

why would you run all of them at the same time.........

shaurya 的头像
shaurya1 个月前

dont you wanna check which one is more dominating

何 的头像
何1 个月前

Why? I am the dom

Thomas Burgess 的头像
Thomas Burgess1 个月前

L tier ragebait

shaurya 的头像
shaurya1 个月前

works every time

Arnaud Carré 的头像
Arnaud Carré1 个月前

your C version is 3 times slower than asm ( 3ms vs 12ms ). So to me, your C version isn't properly optimized :) (for flat shaded cube and carefully written C hline func you should be very close to asm). I guess it's software rasterizer right?

shaurya 的头像
shaurya1 个月前

yes not optimizing was part of the test

Arnaud Carré 的头像
Arnaud Carré1 个月前

I mean, what's your hline function in asm? even by just converting it to C you should get alsmot same speed

boo_ghoul 的头像
boo_ghoul1 个月前

This is a stupid comparision and probably fake. Also C/C++ and assembly will be equally fast if you just use the right compiler options. And for a single cube, even Javascript Canvas can do 1000 FPS on pure software rendering.

Mateusz Mierzwiński 的头像
Mateusz Mierzwiński1 个月前

It’s GL cube, has nothing to do with programming language or the delta will be such insignificant that you’ll perceive zero difference.

*daymare* 的头像
*daymare*1 个月前

i somehow doubt theres that big of a performance gap between C and asm

flaw 的头像
flaw1 个月前

Java was second fastest? Damn

Melon Husk 的头像
Melon Husk1 个月前

What a bs comparison and waste of time.

judd 的头像
judd1 个月前

assembly

Nate 的头像
Nate1 个月前

He's Indian. He doesn't know what he is talking about. You can disregard.

gopher 的头像
gopher1 个月前

@cmuratori

Mike Whittingham 的头像
Mike Whittingham1 个月前

My point exactly.

\newcommand{\femb0t}{ 的头像
\newcommand{\femb0t}{1 个月前

ray tracers ?

shaurya 的头像
shaurya1 个月前

no ray tracing

Henry van Megen 的头像
Henry van Megen1 个月前

Java's not so bad..

TK 的头像
TK1 个月前

what languages?

Bithope 的头像
Bithope1 个月前

Always fun to see benchmarks like this. In production though, developer velocity and maintainability usually trump raw execution speed—unless you hit a CPU/memory bottleneck where dropping down to Rust or C actually moves the needle.

Dissolve 的头像
Dissolve1 个月前

average indian vibe coder

El300 De Mil 的头像
El300 De Mil1 个月前

Dude, we don't use Python Vanilla, nobody use Python Vanilla

Larry 的头像
Larry1 个月前

Bresenham ?

/home/rock-a! 的头像
/home/rock-a!1 个月前

what is the language beetwen in Js and lisp?

Gabriel 的头像
Gabriel1 个月前

Stop trolling

Vann Snow 的头像
Vann Snow1 个月前

why python so slow.. can a code manipulate to make it fast or its just python was so slow?

вэлон 的头像
вэлон1 个月前

Could u please also list the amount of time spent writing the code for each cube?

Jhonson | GobuEngine 的头像
Jhonson | GobuEngine1 个月前

Esta super raro eso... Súbelo a un repositorio.

Doom Валерий 的头像
Doom Валерий1 个月前

я нихрена не вижу!

Martin Van Nostrand 的头像
Martin Van Nostrand1 个月前

What was your C/C++ doing that it's that much slower than assembly 💀

相关视频