Загрузка видео...

Не удалось загрузить видео

На главную

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 💀

Похожие видео

Martin Odersky (Martin Odersky) is the creator of Scala and I interviewed him to compare different languages designs (Rust vs Zig vs Python vs Scala) and how AI will impact programming languages. In this episode: • Comparing Rust, Zig, Python, and Scala designs • Why its hard to write a compiler • Predictions about how AI will impact software • Why functional programming matters Where to watch: • YouTube - • Spotify - • Apple Podcasts - • Transcript - Thank you to the sponsors of this episode for supporting my work: • WorkOS: makes your app Enterprise Ready with easy to use APIs to add SSO, SCIM, RBAC, and more in just a few lines of code, check them out at • Jira by Atlassian: Get more work done with your favorite agents and models all in one place, check them out at Chapters: 00:00 Intro 00:44 Why care about functional programming 06:35 Why should people learn Scala 09:26 Rust vs Scala 12:42 Rust vs Zig 15:45 Scala vs Python 18:31 The programming languages that influenced him 22:16 How running on the JVM works 26:33 Why writing a compiler is hard 29:19 Why Twitter adopted Scala early on 31:00 How he believes AI will impact programming languages 43:40 Will there be less engineers in ten years 44:34 Top programming languages to learn to grow 46:18 Top technical book recommendation 46:51 Why he chose academia instead of industry 48:28 Reflecting on Scala 55:42 Advice for his younger self 56:33 Outro

Ryan Peterman

103,762 просмотров • 1 месяц назад