cs-wasm icon indicating copy to clipboard operation
cs-wasm copied to clipboard

Using as a Scripting Language in a Game Engine?

Open KTRosenberg opened this issue 6 years ago • 0 comments

Hello. I'm interested in using dynamically loaded webassembly modules as scripts in the Unity game engine. As long as this project does not have any platform-specific dependencies, I am hoping it would work on basically any platform. However, I figure that as an interpreter, and not a native VM, cs-wasm might not perform that well for this particular use case. (Realtime graphics have strict time budgets of less than 16 ms per frame.) Have you done any benchmarking?

What do you think about this use case, and might there be a possibility for a more native implementation that is closer to what is available in web browsers today?

I'd like to learn more and see what I can do next. (I have been looking at wasmer too, but that doesn't look like it'll work on android, which is my target. Maybe I'm wrong.) Thanks!

KTRosenberg avatar Jan 04 '20 03:01 KTRosenberg