Hacker News new | ask | show | jobs
by weego 1936 days ago
There's an awful lot of verbiage but none of it really tells me in why or what situations or domains I'd find this compelling. I'm impressed conceptually but like are we talking 'bring your favourite language to a highly fault tolerant nodejs replacement'? Or I'm off the mark? The site is similarly vague.
1 comments

You are thinking in the right direction, but there are some technical differences between how NodeJS works compared to Erlang or Go. For example, in NodeJS you could accidentally block the event loop by some unintended computation, but Lunatic and Erlang periodically give control back to the runtime. We also want to abstract the syscall layer, for example, in our lunatic.run demo, you write a program which seemingly uses standard input/output but we actually read/write from a socket.

By the way, if it sounds vague, that's important info for us, we have to improve that!