2 ms·
> The entire unix operating system is designed to abstract away async problems and turn them sync so you can write sane code (if, else, for). That only works f
by mschuster91 2y ago
> The entire unix operating system is designed to abstract away async problems and turn them sync so you can write sane code (if, else, for).
That only works for workloads that can be independently parallelized. For stuff that cannot be - which is the majority of consumer workload - you're in for a world of pain with locking and whatnot other issues.
- liontwist 2y agoNo. It’s almost all the time that your computer has more than one thing to do; - your browser uses a process per tab - your web server responds to multiple requests in parallel - your web app is going to launch other programs - your desktop ui is going to have a compositing server separate from each application - your compiler is going to work on multiple source files