logoalt Hacker News

LtWorftoday at 5:51 PM0 repliesview on HN

The problem with all these async things is that people don't understand what's actually happening.

It's just doing a loop and a call to poll(), that's it.

It's way way way less expensive than using threads. Of course you must give control to your main loop every once in a while, so if you have a long computation you either create a thread or split it and return control to your main loop.

It's how all GUI programming has always been done.