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

If I understand him correctly, he wants to make all classes into processes and method calls into message sends. I don't think this would improve performance in any way.

"Many of the processes will actually be suspended waiting for the next message, [...]" Exactly. What's the use of making a function call asynchronous, if the program has to wait for the result? None. It's just going to generate overhead.

Just a thought experiment: What if I take a program and make every line of code spawn a process, and the next line wait for the result. It's clear that this won't improve performance.



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

Search: