Hacker News new | ask | show | jobs
by habibur 662 days ago
RAII <-- best of both worlds.
1 comments

If you are talking about C++, it’s nice when RAII works. But if it does work, then in some sense your problem was easy. Async code and concurrent code require different solutions