inda21plusplus / Project-Delta

This is the repository for the group project assignment in the course "Project in Introduction to Computer Science" (DD1396), by the Inda21plusplus group.
MIT License
8 stars 0 forks source link

Create / Integrate with a scripting language #20

Open foodelevator opened 2 years ago

foodelevator commented 2 years ago

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).

foodelevator commented 2 years ago

There's also some more information here: https://docs.wasmtime.dev/examples-rust-embed.html