>>399826190
wasm is a reasonably popular executable format that you can compile most languages into, and it has a few decently fast and sandboxed interpreters/runtimes as well (wasmer/wasmtime). So as long as you can maintain a relatively small API into the host gams, you can safely support untrusted code execution, from any language the implementer chooses without having to roll your own VM and security. Basically it's what udon's VM does, but standardized.

Recently I've been looking into what it'd take to translate udon bytecode into wasm, and implement the same API udon exposes. If it works, I think it'd be a good path to make a vrchat emulator that'd be able to load its worlds, scripting and all.