For decades, application developers lived comfortably with a simple mental model of hardware. You write clean object-oriented code, and the compiler optimization passes along with the CPU’s speculative execution engine take care of making it fast. If a routine feels sluggish, you throw it onto a background thread or wrap it in an asynchronous block. …