4 ms·
> To me that's weird because calling the elevator is long running IO in a separate thread - might as well start it asap. Oh, man. I've felt exactly the same wa
by siraben 5y ago
> To me that's weird because calling the elevator is long running IO in a separate thread - might as well start it asap.
Oh, man. I've felt exactly the same way wrt. a lot of IRL scenarios, implicitly optimizing the number of "threads" I can do tasks in, for instance:
- starting an automated but lengthy task (e.g. choosing Nixpkgs PRs to automatically review) before going out for a period of time
- starting the microwave heating food before going to the toilet
- pressing the elevator button before tying my shoes (in a private elevator scenario)
Distinct from multitasking, which splits your attention, here, you can still dedicate attention to a task at hand while knowing in the background that a thread is running. These types of behaviors may not really do all that much long term, but it sure feels nice you optimize IRL scenarios.