E00: Software Drag Racing: C++ vs C# vs Python - Which Will Win?
Retired Microsoft Engineer Davepl writes the same ’Primes’ benchmark in Python, C#, and C and then compares and explains the differences in the code before racing them head to head to see what the performance difference is like between the languages.
It appears the upload process does some volume leveling or loudness, so my apologies if you get startled during the into. It was mixed down in the master, honest :-)
Thanks to the Simpsons for the inevitable reference or two that I throw in now and then! See if you can spot both in this episode!
0:00 Start
2:08 The Primes Assignment
6:25 How a Sieve Works
7:32 Coding Begins
9:00 Python Version
12:50 C# Version
18:25 C Version
22:22 Charts and Graphs
23:17 Outtakes
I’ve placed the code up on GitHub for your reference without any warranty for any purpose!
I get a lot of questions about which keyboard I’m using as well as various other cam
1 view
100
26
9 months ago 00:51:49 2
The 3DO Interactive Multiplayer Project - All 309 3DO Games and Softwares (US/EU/JP/KO)
2 years ago 00:23:30 1
E00: Software Drag Racing: C++ vs C# vs Python - Which Will Win?