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

I submitted the link. I've been reading about multiplexing asynchronous IO because I'm writing a distributed filesystem of sorts. It seems like a good fit for both the indexing hubs and the storage nodes, and it pairs well with Lua's coroutines. Also, I'm not convinced that the "nasty state bugs" from reorganizing around an event loop are necessarily worse than the ones that come from using threads with shared state.

I know what you mean about an event loop complicating error handling from callbacks, though. It feels sort of like writing in continuation-passing-style.




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

Search: