Hello,
Finally, the moment has come:
https://www.youtube.com/watch?v=xos2MnVxe-c
Following up on a bounty offered, Dmitry Boyarintsev has accomplished milestone one
in the implementation of FPC's webassembly backend.
And: It's alive ! :-)
The first result can be seen here:
https://www.freepascal.org/~michael/lyff/
Conway's game of life written using FPC:
- FPC itself for the WebAssembly Backend library.
- pas2js for the necessary Javascript front end and GUI code.
Although I can't imagine why you would want to, you can also load the
webassembly from plain Javascript:
https://www.freepascal.org/~michael/lyff/lyffjs.html
Whoever thought Pascal is dead, should now think otherwise.
It's very much alive !
Enjoy,
Michael.
PS. More info about the webassembly efforts will be assembled here:
https://wiki.freepascal.org/WebAssembly
It's a bit cursory at the moment, but will be improved as things evolve -
once it's alive, it tries to stay alive ;)
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal