4 ms·
Lua has features to do just that. It is fairly easy for an app to load a protected environment around Lua source code and only expose what you need. You can cla
by soapdog 6y ago
Lua has features to do just that. It is fairly easy for an app to load a protected environment around Lua source code and only expose what you need. You can clamp all forms of filesystem and hardware access and leave the user with only the functions you provide and the language itself.
- csharptwdec19 6y agoI've been working with Lua on a project and have found this to be a really neat concept. When you set up the runtime in your language most libraries make it trivial to define that a given function can call into your own code, i.e. I could define 'getUser' in my lua code to call back to a C# function with variables, etc...