News for hackers. Stuff that matters.
Re:Lua Is So Underrated by feznyng on Thursday December 26, 2024 @11:51PM (#42520023)
I think there’s a fork called quickjs-ng that’s actively maintained on GH. Should be able to use it as a lib maybe with some externing.

I’ve also had luck using it in a wasm runtime thanks to quickjs-emscripten. Good if you need sandboxing sans full process isolation.

Re:Lua Is So Underrated by kragen on Friday December 27, 2024 @08:24AM (#42521867)
Thank you for sharing your experience! Wasm provides full process isolation, doesn't it? Do you mean that QuickJS provides cheaper sandboxing than wasm?
Re:Lua Is So Underrated by feznyng on Friday December 27, 2024 @12:56PM (#42524360)
I’m not sure if wasm would be considered full process isolation but it does provide software based sandboxing. I’m referring to running quickjs in wasm by compiling it with emscripten.

https://github.com/justjake/quickjs-emscripten

Re:Lua Is So Underrated by kragen on Friday December 27, 2024 @08:38PM (#42527796)
I see, thanks!