|
|
|
|
|
by nurettin
441 days ago
|
|
Younger me tried saturating CPU cores with event loops for a few years. Then I grew up and started using long living threads and queues to consolidate everything on the main thread and it works a whole lot better for me. Async/await shit show is gone, synchronization primitives you still somehow need for some reason with an event loop are mostly gone, all interfaces use the same synch stack, it is paradise. It almost feels like you have to play around with async to really appreciate the simple and solid thread safe queue approach. |
|