2 ms·
> the caller fires it off without a ticket to wait on the result Exactly! Making a thread block waiting for a result isn't true async in my book. It doesn't ma
by secondcoming 5y ago
> the caller fires it off without a ticket to wait on the result
Exactly! Making a thread block waiting for a result isn't true async in my book. It doesn't matter that the result is going to come from another thread. Futures/Promises make you block a thread.
- __s 5y agoThat's why async/await is about having an event loop driving a state machine so that you aren't blocking a thread, you're having a state machine wait on a result Performance numbers don't care what's in your book