Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "parallelism"
I just implemented parallelism in one of my major data collection tools for work, and cut the tool's run duration by 90%. That seems like as good a time as any to go to sleep.2
I just realized that CPU's are essentially electronic hookers, for processes.
They'll service any process that calls upon them, but keep switching between various processes so that it can spend time fairly with each of its processes. And of course, they'll immediately abandon their current process if one with a higher priority reveals itself and attend to that one instead. Once it is finished, it'll return to its less-important processes.
Kinda sounds like a hooker to me... 🤔4
There's no winning.
Went to node.js for a year:
Types you heathens, types! Oh what the fuck is this mess? Geezuz, I guess that works but it's kinda gross...
Now I'm back to C#:
You fucking window-lickers, it's concurrency not parallelism! This shit isn't hard, just stop spinning up threads for database calls. Oh sweet shit even the Microsoft documentation is confused fuck this...4
Golang tutorials trying to explain the difference between concurrency vs parallelism be like "Oranges are different from oranges. Oranges are juicy while oranges are juicy. They are not to be confused, u newb"1
A five-minute overview of the differences between concurrency and parallelism.