Software Drag Racing: M1 vs ThreadRipper vs Pi

preview_player
Показать описание
Dave pits a new Apple Silicon M1 vs an AMD ThreadRipper 3970X while a Pi3B+ an Pi4 try to tag along! See the surprising results and the reasons behind them in this episode of Dave's Garage Software Drag Racing.

Code for this project is available here:

0:00 Start
2:50 Single Core Workloads Defined
4:00 BT and BTR Instructions
5:50 Install C, C++ etc
6:20 PI3B+
8:00 PI4
8:35 PIs compared
9:00 M1
11:08 Spoiler results
11:20 Github details
13:00 Python Apologetics
14:30 Closing
Рекомендации по теме
Комментарии
Автор

Thanks for giving your time freely to play with this sort of stuff.

YouTube is an amazing medium for us mortals to engage with interesting people like yourself.

Keep up the great work 👍

chrisb
Автор

Thanks Dave I am a Software Engineer, just graduated from college and am starting out. I love your content. I once had a professor who said "Programming is wizardry, and programmers are wizards." Someday I hope to be as great a wizard as you buddy.

starskiiguy
Автор

Dave you talk in perfect speed. For once I don't have to speed up the video I'm watching 🤣🤣

redhawkrobin
Автор

I don't usually notice background music without hating it but I think you found the right balance of musical complexity and intrusiveness

seanfaherty
Автор

Great video, as always! Maybe another metric to consider: price per pass? :)

For example: the Pi 3B+, $35/305 ~ $0.11/pass

TrevorDBrown
Автор

I'm a simple man. I see Dave drop a video, I watch it. It's really not complicated. Your a legend dude 👏

KyleHarrisonRedacted
Автор

This has quickly become my favorite channel.

thatcreole
Автор

Mellow piano music, sparkly lights.. new Dave's Garage episode! ... It feels like Christmas! Dave thank you so much.. as always, top notch content.

doncapo
Автор

That's the comparison that we needed but didn't know it!

mahdinejad
Автор

This is bloody brilliant.

Also, the fact that Nano was used as the editor made my day. Kudos to you sir!

Geenimetsuri
Автор

So I changed the vector to std::array, and got ~13000 passes on my m1 air. Fyi, it was ~4500 passes with vector.

Ranoiaetep
Автор

This will be of no interest to anyone but a Pi 1 Model B (from 2012) achieves a score of 97

An.Individual
Автор

I LOVE the fact you talk at a nice, normal pace. There are some channels I watch at 1.5x speed just to get them to talk at a normal pace.

burnte
Автор

I wrote a multithreaded solution to prime number generation in C++ a few months ago, it's actually not too hard to implement. Would be interesting to see how much the threadripper outpaces the M1 when you use all the cores lmao and would perhaps be a good next-step up from this.

fractal_lynn
Автор

As a car/drag racing enthusiast and hardware engineer learning to code this was an excellent episode. Just subbed!

AllAmericanBeaner
Автор

I just ran across your channel a week ago, and I'm really enjoying hearing your take on different programming issues! I used to work out the details of an algorithm using whatever scripting language was available on the platform, and once i had a solid plan, I would go back and rewrite it using C or FORTRAN or whatever else. This proved an effective way to cook up some great code that could do the job. Thanks for all of the great comments during your videos!

davidtipton
Автор

Hi, would be nice if the github url was mentioned in the description. Otherwise nice episode.

MichelHermier
Автор

This was unexpected. I ran the CPP code on a WSL 2 terminal running Ubunutu. The CPU on the box is an AMD Ryzen 3800X running at stock speeds. And still, it outpaced the Threadripper. The first run turned in a score of 9622!

Passes: 9622, Time: Avg: 0.000520, Limit: Count1: 78498, Count2: 78498, Valid: 1

mudstrand
Автор

M1 is still very impressive for a very new product in it's first life cycle. Also factoring in the power consumption makes it look even more impressive.

soniclab-cnc
Автор

- Tell me you're a Windows developer without saying "I'm a Windows developer"
- OK.exe

JonathanKingstonFear