Hello,
I've just committed to the FPC git repo the wasmtime unit.
This unit can be used to load and use the wasmtime library.
Using this library you can compile, load and run Webassembly files embedded
in your FPC program on all FPC & webassembly supported native platforms.
There are 4 demo programs that show how this can be done.
This means that you can now have a FPC-compiled webassembly module
and run it in the browser or in a native binary.
Additionally, all webassembly modules out there should also be
callable from both native FPC and Pas2JS programs.
Enjoy !
Michael.
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus