Hacker News new | past | comments | ask | show | jobs | submit login
Like Node.js, but using Lua as the execution engine (emilua.org)
3 points by guigg on Sept 23, 2023 | hide | past | favorite | 1 comment



I'm the author of this framework. Version 0.5 is under development right now and there are a few things I'd like to point out about the project's current state:

• I was developing an example Telegram client where components would run on sandboxes to dodge some attacks (such as the recent bug found on WebP that is used for Telegram stickers).

• Creating sandboxes using Linux namespaces (available from emilua 0.4) proved to be too cumbersome.

• I'm developing support for new sandboxing technologies that I hope to be easier to use.

•• Landlock (Linux): already usable from branch 0.5.

•• Capsicum (FreeBSD): in development.

• The lack of an (emilua) ecosystem is a real problem for new (emilua) programs, so I'll develop something like <http://lua-users.org/wiki/LunaticPython> that also translates Python promises from Python3's asyncio to fiber suspension/wakeup in Lua land and customizes the Python3's asyncio event loop to use the same Boost.Asio instances. This support will depend on <https://lwn.net/Articles/941090/> as there would be 1 Python subinterpreter for each Lua VM.

• I plan to do something similar to the previous item to NodeJS as well.

• Version 0.5 is mostly ready and I expect a release by December. The focus of this release is refactoring stuff to make it easier to develop a package manager for emilua.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: