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!
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
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 camera and studio equipment questions, so here are the highlights:
CORSAIR K70 RGB MK.2 Mechanical Gaming Keyboard (Cherry MX Blue Switches)
Sony FX3 or A7SIII Cameras
Aputure 120D Mark II Light and Light Dome II Mini
Glide Gear TMP100 Prompter