Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
atheist99055yMy last job our code base scaled linearly to 48+ physical cores... I doubled its throughput. Beg to differ!!!
-
Flukz4915ythis is actually a huge problem. At my school there was only one class that taught multi threaded programming, and it was NOT mandatory. So i can definitely see why this is the case a lot of the time. it's unfortunate.
-
It becomes even more fun when you throw in thread priorities. I mean real time priorities, not the Linux style.
-
Well, at school I was the king of performance & multithreaded C (perfect 100% cpu utilisation on 20 cores 🤤)
My real magic trick was to not use any kind of mutex (or atomics) 😆
I only started using them because Rust forces me to 😆 -
atheist99055y@oraro or you know, an sde at Amazon, close enough? My point was more some of us have actually had to do that kind of high performance multi-threading.
-
@Gregozor2121 I guess there are cases where you need to do it manually. But I would argue 80% of the time it is better to use something what already exists
-
hjk10157313yWith Go there are quite some constructs that help with that. Not mucking with treads but just focus on parallelization and either using mutexes or channels to do it safely. No more idle core.
Everyone's a pro ninja 10x whatever until you ask them to create multi-core optimized code
rant