You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In other words, it attempts to be a Rust-based implementation of OpenComputers, a Lua sandbox. At this point, why not just use wasm instead? - which incidentally is something we're attempting to do with OpenComputers because it provides better sandboxing than trying to patch Lua, and allows exposing all the APIs without worrying about holes.
Instead, "High level Lua bindings to Rust" should be just that - bindings, not an entire sandbox!
If you take our former hexchat-plugin crate as an example, for making hexchat plugins, it does its best to prevent the Rust plugin from having bugs, but doesn't try to actively prevent other plugins from having bugs that interact badly with the Rust plugins. (where possible, we tried to submit upstream patches to hexchat instead, altho we didn't have much success with that because we were kind of a prick back then. >.<)
So we do think things like handling userdata soundness (#19) is important, even when the Lua code is explicitly calling __gc on the userdata twice. But it should not be implemented through "replacing Lua".
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Currently, rlua does some stuff like:
In other words, it attempts to be a Rust-based implementation of OpenComputers, a Lua sandbox. At this point, why not just use wasm instead? - which incidentally is something we're attempting to do with OpenComputers because it provides better sandboxing than trying to patch Lua, and allows exposing all the APIs without worrying about holes.
Instead, "High level Lua bindings to Rust" should be just that - bindings, not an entire sandbox!
References: #116 , README, [...]
If you take our former
hexchat-plugin
crate as an example, for making hexchat plugins, it does its best to prevent the Rust plugin from having bugs, but doesn't try to actively prevent other plugins from having bugs that interact badly with the Rust plugins. (where possible, we tried to submit upstream patches to hexchat instead, altho we didn't have much success with that because we were kind of a prick back then. >.<)So we do think things like handling userdata soundness (#19) is important, even when the Lua code is explicitly calling
__gc
on the userdata twice. But it should not be implemented through "replacing Lua".The text was updated successfully, but these errors were encountered: