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

I've felt for a long time that the tendency to equate "sending a message" and "calling a function/method" has caused a lot of problems - one is more like IPC/RPC and the other is something that happens within the local context (process/thread/etc.).



sending a message = piping

sending a message with callback = continuation passing style


I think the Transputer/Occam and Google Go have a better approach where they were influenced by Hoare's CSP:

http://en.wikipedia.org/wiki/Communicating_sequential_proces...




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

Search: