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

Go uses CSP concurrency, which is distinct from the Actor model. They're often conflated since the difference is small, but the distinction is relevant here because it directly addresses your complaint. Namely, synchronization is much easier in CSP since communication is synchronous, so you don't have to build additional abstractions for syncing on top of your asynchronous message passing.


CSP is better for sure, but message passing is still a pretty primitive model, synchronous or no.

FWIW I like CSP, but promises are great for e.g. fetching data


Also ClojureScript core.async uses the same CSP model.


Erlang processes (actors) are synchronous as well.




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

Search: