|
|
|
|
|
by jcalvinowens
53 days ago
|
|
> Threads have gotten so fast that paying the async function coloring price makes very little sense for most software. I agree with this 100%. If you're getting paid to bin pack jobs that do lots of concurrent I/O into a server infrastructure, then yes, building these complex async "machines" and forcing everyone to do the extra labor to use them is necessary to avoid a lot of waste. But for everyone else, it's a huge waste of time. Even low end modern embedded Linux systems are capable of running thousands of threads. Synchronous code is always simpler to write, easier to reason about, more straightforward to test, and faster to debug. Nobody should ever reach for async by default. |
|