WebAssembly Compatibility

I wonder if it’s possible to compile Tectonic to WebAssembly as an additional target platform?

Combined with the fact that Tectonic automatically downloads support files and is a self-contained library, this would help to make the engine itself portable with easy cross-platform compatibility, and would allow it to be easily embedded in online and offline contexts (such as in websites or progressive web applications, in Electron-based applications, and in native applications using a runtime like Wasmer).

1 Like

Welcome @Malahasa and great question!
Long term this would be possible. The relevant issue has some initial discussion:


Any prototypes / experimental hacking would be wonderful!