[Pas2js] More Webassembly...
    Michael Van Canneyt 
    michael at freepascal.org
       
    Thu Dec 30 16:39:36 CET 2021
    
    
  
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.
    
    
More information about the Pas2js
mailing list