5 ms·
But a single thread with async can, and for many tasks, is more efficient that a single thread without async, because you aren’t waiting on requests. One point
by mr_00ff00 4y ago
But a single thread with async can, and for many tasks, is more efficient that a single thread without async, because you aren’t waiting on requests.
One point also is that until recently most personal computers did not have multiple cores, aka you could think at the lowest level that even multiple threads were just more dangerous async lol
Even making new threads in the JVM isn’t guaranteed to result in more than a single OS thread.
- jcelerier 4y ago> One point also is that until recently most personal computers did not have multiple cores, core 2 duo has been released 17 years ago
- jcranmer 4y agoDual core started coming out ~2005. It took a few more years for it to dominate the product lineup. Computers tend to have a replacement cycle of ~5 years. Consequently, it's not until about 2012-ish that you could reasonably expect a personal computer to have a multicore computer. (Yeah, that's still a decade ago, but that's a good deal more recent than 17 years.)