Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

CSP and async/await are perpendicular concepts. In fact you can have all combinations of them.

Personally though I prefer either the actor model or structured concurrency to CSP, depending on the usecase.



I like a combination of both: actor model high level (basically, the business needs to understand the purpose/meaning of every actor) and then structured concurrency within each actor.

I've been trying to convince the gleam folks of that without too much success so far...




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

Search: