You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of today, Rust glue, to enable Wasm interactions in the browser, to web components can made with polyfills from the well-known wasm-bindgen toolchain such as :
Thereby, we need to evaluate the need to interact with WebIDL and JS in a Wasm version of MLA which targets in-the-browser opening of compressed and encrypted HTML reports, thus a browser GUI.
Then, options are :
The GUI interaction (WebIDL or JS) could be incorporated in Rust, thus importing JS functions : this one is not preferred as web languages are well-suited for web design and scripting for the moment (thus the GUI).
MLA could be imported as a Wasm module and used in a HTML / JS GUI without the need to import JS functions on the Rust side. Still there will be HTML / JS interaction. Two suboptions :
Supporting a WASM version of MLA would be nice.
For instance, it would allow the support of:
Targeting WASM in Rust has some requirements. This issue is made to track them.
For now, compiling to WASM WASI is working:
The text was updated successfully, but these errors were encountered: