this post was submitted on 12 Nov 2024
38 points (97.5% liked)
Rust
6035 readers
16 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The most battletested way is via bindings to other languages. Ex. mlua with luau sandboxing Or Javascript via v8 or deno_core
There are also a few languages implemented in rust like rhai
There is also the option of compiling the user code to wasm and using wasmtime to run it
Seems like Luau will do. Thanks