I think using webassembly as a target for the scripting language and running it with wasmtime is a nice way to go about it.
They have a short tutorial here https://docs.wasmtime.dev/lang-rust.html and it seems quite nice to use.
Using webassembly would keep the door open to script a game using most modern low-level languages (and then some) while also allowing us to create an own scripting language if we wish (and have the time).
I think using webassembly as a target for the scripting language and running it with wasmtime is a nice way to go about it.
They have a short tutorial here https://docs.wasmtime.dev/lang-rust.html and it seems quite nice to use.
Using webassembly would keep the door open to script a game using most modern low-level languages (and then some) while also allowing us to create an own scripting language if we wish (and have the time).