E01: What is the FASTEST Computer Language? 45 Languages Tested!

preview_player
Показать описание
HD Episode 01: Retired Microsoft engineer Dave Plummer takes you on a guided tour of 45 different computer languages and drag races each against one another using a prime sieve benchmark. From Ada to Zig and everything in between, find out which is fastest and which is slowest.

Languages tested in the series include ARM ASM, X86 ASM, Ada, BASIC, Bash, C, C++, C#, D, Dart, Delphi, F#, Fortran, Go, Haskel, Java, Julia, Lisp, Lua, Node, Nim, OCaml, Octave, PHP, Pascal, Perl, Powershell, Python, R, Ruby, Rust, Scala, SQL, Swift, TypeScript, V, Zig, and more are being added!
Each round, languages are tested in groups, such as C vs C++ vs Rust, Python vs BASIC, Ada vs Pascal vs Delphi, and so on.

I am re-uploading this as the original video appears stuck forever at 306p. My apologies if you received this as a duplicate!
Рекомендации по теме
Комментарии
Автор

I can't wait to see the Minecraft Redstone implementation.

kbsanders
Автор

I re-uploaded this in HD 1080p60 because some folks were only seeing it in 360p. My apologies if this is a dupe for you this morning!

DavesGarage
Автор

Putting the episode number in the video title may be more clear that this is a series. Otherwise, I'm excited to see the whole thing :)

nattyman
Автор

The answer to what is the fastest language always starts with "For what task?" for me. Some are optimized for high order math, some are efficient at memory management for large data manipulation, others are built with other kinds of tasks in mind. I have yet to hear of any one language that is perfectly optimized for all possible operations or tasks.

TheFinagle
Автор

Isn't the best compiler the winner, and not necessarily the language it compiled?

ryan-heath
Автор

I bet Dave’s “recreationally fluent in C#” is still on par with the guys who wrote Unity

nitrouspeed
Автор

The fastest computer language in the world is the correct algorithm for the problem.

lepidoptera
Автор

I attended a meeting of the Forth Interest Group in Palo Alto in the 1970s, one group of Forth programmers explained they had worked on the project to send a rover to Mars. They were supposed to use ADA to program the rover but unbeknown to the 'suits' used Forth. They claimed that the arm on the rover holding the camera was damaged on take-off and because Forth had been used to control the camera could re-program the code to make the rover move instead of the camera arm when panning the camera while the rocked was on its way to Mars. It certainly was a very interesting group of people, a meeting I remember with great interest ever since.

pauldhartley
Автор

Delphi and it's open source alternatives (Lazarus etc) are still VERY popular among independent Windows tools devs.

tech
Автор

Well, well... this project will be a rosetta stone in the future.

tekman
Автор

I would also like to point out that results might vary greatly depending on the compiler. Even with C++ you can see performance differences between different compilers on the same exact code implementation.

di
Автор

I can't wait to see more comparisons! AWESOME sound effects during 'execution'! I was a real-time SW engineer on the B-52G/H flight simulator (6 DOF) and F-15 C Flight simulator, F-15 E Weapon System trainer, plus F-15S Aircraft Maintenance Trainer. Languages: Fortran IV/7/95, C, ADA (F-15 Central Computer - 486), JOVIAL (B-52 Avionics), C++, C#, and big symbol dictionaries! A 'cold start' would take days! Over a million lines of code. The B-52 also had very large radar and visual database sets! That was over 30 years ago.

garrykraemer
Автор

Delphi has an optimizing compiler that was always ahead of its time. Would have been nice to see the results.

travails
Автор

Another interesting comparison for languages like Python would be using different implementations. For Python, CPython (the standard implementation) vs. pypy (a fast but compatible implementation using a JIT compiler).

Edit: Looks like this already exists in the community branch. Great!

hatcherluke
Автор

I must say, seeing the Github for this is an absolute joy! So many different approaches to implementations all with the same purpose and very funny by the way. Is there actually an attempt by someone to implement it in a esoteric language, or don't we do that here? Shakespeare by any chance? :D

meylaul
Автор

First language at uni was Pascal. Went on to retarget the Modula-2 compiler (also a Wirth language) to cross compile to the Intel 8086 for my honours year.
Later, working at the uni as a DEC-10 sysprog (back in the days when we had source code for the OS), I discovered and fixed a code generation bug in the Pascal compiler.
Pascal (with extensions) was a very capable language if you knew what you were doing, even for system programming tasks!

rgoodwinau
Автор

This is a great series, could watch it all day. Thanks Dave

Kolor-kode
Автор

Delphi's Object Pascal (when it was a compiled to language) was comparable to in performance to C++. In the case of memory-management-intensive applications, it was a lot faster than Visual C++.

LonersGuide
Автор

My first job out of college was as a software engineer for.a small company that did embedded systems in Forth and the host software in Turbo Pascal. I actually fondly remember TP 5.5 and 6.x. Extra points if someone still has TP 3.0, which was the first real compiler that I owned. Prior to that, I was punching in hex codes or messing around a little with Z80 assembler.

davidfirth
Автор

I thoroughly love this channel and am grateful you’re doing it.

nonobrochacho