Hacker News new | past | comments | ask | show | jobs | submit login

We only use co_await/co_return in the production code. It's basically like JavaScript promise and it's very easy to work with.

Calling coroutine in non-coroutine code is also easy, just do blockingWait(co_routineFunc());

We almost never use multithreading code in the business layer now unless coroutine is actually causing performance issue. I haven't seen that happen yet




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: