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

Dahl's original reason for preferring JS to Lua was apparently that Lua had too many blocking libraries already:

No matter what I did, someone was going to load an existing blocking Lua library in and ruin it.



Indeed, this is a problem. I've mitigated it somewhat by changing how require works (to be more node-like) and disabling the built-in I/O library. This will make most offending libraries unable to run in Luvit. Also this means I don't get the large existing community of modules either.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: