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

There is also http://libdill.org/ which has a different, better in my view, model and I have actually used in production.


I dont think libdill supports multiple CPUs, which is really hard to get right


Well it does not allow coroutines to migrate to different OS threads and handles to be shared across OS threads, but that does not mean it doesn't support multiple CPUs.

It's more correct to say that it doesn't come with that support out of the box, but it certainly does allow for it and nudges you towards a specific direction (no shared mutable state).


That has been my experience using the library, I have found that it really encourages, by means of making it the most expedient option to have write once data structures.

My use case is certainly not the common one though, so others may have different experiences.


You run multiple instances, one per CPU core.


there is a huge difference between running an instance per CPU and letting a smart scheduler orchestrate things for you.


Reminds me of this epic discussion between KirinDave, Ryan Dahl, and Aphyr: https://news.ycombinator.com/item?id=4306241


Parent my have a StackOverFlow CV.. :)




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: