#GoLang Compiler runs in-browser with #WebAssembly ... How do we do the same for #RustLang? 🤔
https://johnstarich.medium.com/how-to-compile-code-in-the-browser-with-webassembly-b59ffd452c2b
Rhai scripting for #RustLang looks interesting... Works in #WebAssembly too
https://schungx.github.io/rhai/about/features.html
So if we register the #LVGL #RustLang Functions with #Rhai... We can run Rhai Scripts in-browser with #WebAssembly... To build #PineTime Watch Faces interactively? 🤔
How we register #RustLang Functions with the #Rhai Scripting Engine... I can generate this by tweaking the Proc Macros that I'm applying to #LVGL 🤔
https://schungx.github.io/rhai/rust/functions.html
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.
So if we register the #LVGL #RustLang Functions with #Rhai... We can run Rhai Scripts in-browser with #WebAssembly... To build #PineTime Watch Faces interactively? 🤔