Top 5 Fastest Programming Languages: Rust, C++, Swift, Java, and 90 more compared!

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

It would be nice to have a video commenting on how Rust and Zig (and their respective codes used in this challenge) managed to be so much faster than the competition. Very cool stuff!

CAVR
Автор

Oh wow, that is an incredible result for Zig, would be cool to compare the assembly listing of the Zig compiler vs C to see where it was able to gain such a huge advantage.

Kiteboardshaper
Автор

The difference in speed between the leader Zig and the second in the position of Rust was a big surprise for me. I kindly request to have in a future episode a more complete speed test (benchmark) between these two.
In all cases thanks a lot Dave!

MikeKranidis
Автор

It would be great to compare the generated assembly for each of the languages to see why the performance for each one is the way it is! Also, it would be cool to do some performance profiling to see where the bottlenecks of each implementation is. Great stuff!

puddleglum
Автор

I honestly would love a follow up video going over the compiled code for Zig vs the other languages. The gap is so huge there must be something going on, or at least my intuition tells me so.

ender-gaming
Автор

I'd heard Zig was fast but wasn't expecting such a huge difference. Shout-out to all the people who contributed to the project, amazing work

martinvuyk
Автор

Testing Prime sieves is a fabulous thing to do, but it seems to me that a better test would use a few different kinds of problems and report results in each category, as well as a composite result, rather than just a single problem.

I expect that certain languages would be better at one class of problems than another, so on an individual class of problems, the ranking would, I think be different than on another class of problems.

I hope that you will seriously consider creating an updated competition accordingly.

writerightmathnation
Автор

Those results are surprising. I wouldn't have expected Zig (or any language) to improve over C or Rust performance in any significant way. I'd really like to see a breakdown of where those performance gains came from.

osgeek
Автор

Man, wasn't expecting that! Both Java and Zig surprising results.
Can we get a bottom 5 video as well?
Awesome content by the way!

cmanique
Автор

Fantastic series and results! Thanks to all who contributed, but especially the hard work of your small team. It would be awesome to take the framework you've built here to implement different algorithms across these languages and see what changes.

seanemery
Автор

Can't wait for the in depth analysis videos, I'm quite interested by what could be going on for such a drastic performance between the 'top' programming languages!

bobodoustaud
Автор

Like many others I'd love to see an analysis of _why_ the zig result is so much faster. There must be something great we can learn from that

jongmassey
Автор

Jeez. I did not expect such a big difference in the top five.
The performance gap between 1 and 5 is substantial.

Martin-delta
Автор

It would be interesting to compare the binary code from Zig to the others and try to reverse engineer what is actually going on. I haven't used Zig, but it sounds like it may be taking the original code, then predicting what it's trying to do and then cheating at compile. I suppose that isn't technically cheating on the part of the programmer but again, it would be interesting to actually reverse compile the binary code to see what it's actually doing.

brentgoeller
Автор

I'm a fan of this contest because of the fun education it brings about optimisation, efficient coding techniques, multithreading, language comparisons... win-win all around.

The discussions around 16 and 32 threads are interesting too, given that there are 16 physical cores where each core can do hyperthreading.

nettlesoup
Автор

After doing embedded systems programming in C for over 30 years, (I am retired now), I am astonished at Zig's performance. Well done and good to know!

Treking
Автор

These results are definitely surprising to me, I expected all the LLVM languages to be have very similar results. I wonder why the top two languages performed so much better, all other things being equal.

luigiq
Автор

I wouldn't have expected the performance jumps between the three fastest languages. I assumed that is almost equal and some language is marginally faster than the other. But the jump from C to rust and from rust to zig is insane.

timschulz
Автор

Those are amazing results for Zig! I never heard of the language prior to this competition and so, naturally, I need do a bunch of research on it. Thanks for pulling this together and thanks to everyone who contributed and helped to manage the competition. Bravo!

thibetus
Автор

It would be interesting to see a breakdown on why the top 5 languages differ so much in performance. Definitely gained a new respect for Zig and Rust today.
Great video : )

jessiawoo