Hacker News new | ask | show | jobs
by madeofpalk 3066 days ago
Single threaded programming isn't 'lazy coding'
1 comments

It is, in the age of ubiquitous multi-core hardware.

I don't remember when it was the last time any of my applications only had a single thread of execution on them, beyond shell and Python scripts.

Maybe around 2000.

And even then, the OS is juggling processes across all cores every few ms, so outside any benchmark winning game, there isn't much real world value in single thread performance.

Are you serious? Multithreadjng is not Parallelism. It’s not about processing an image in the UI thread, it’s about making that processing faster on the background thread that picks up the work. Don’t get me wrong but lots of people still write iterators, for loops and single threaded functions. Parallel algorithms are hard
What I see is the quality of a JIT compiler implementation, not the use of cores.