3 ms·
Single threaded programming isn't 'lazy coding'
by madeofpalk 9y ago
Single threaded programming isn't 'lazy coding'
- pjmlp 9y agoIt 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.
- jasonvorhe 9y agoExcept for JavaScript performance: https://twitter.com/codinghorror/status/954493740600578049 https://twitter.com/codinghorror/status/954493740600578049
- pjmlp 9y agoWhat I see is the quality of a JIT compiler implementation, not the use of cores.
- eecc 9y agoAre 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