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

I'd rather have some sort of support for multiple cores without real threads.

Stackless seems like a good alternative to Erlang.

Take the two statements above as standalone.



I agree that Stackless is better. Threads are very heavyweight. The problem is that the underlying C interpreter works on only one core. If Stackless can work with multiple interpreters then it may be the greatest thing since sliced bread. I haven't been following it closely enough to say for sure.


All you have to do is build a mechanism that distributes threads between interpreter processes then just spawn an interpreter for each core. For many applications, that's all you need.


I seem to recall a benchmark that showed Erlang as much faster than Stackless (for an admittedly relatively arbitrary problem).




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

Search: