[fpc-pascal] WebAssembly Target

Michael Schnell mschnell at lumino.de
Mon Mar 20 10:08:23 CET 2017


On 17.03.2017 15:57, Reimar Grabowski wrote:
> First benchmarks indicate that there isn't much of a performance 
> increase with the current WebAssembly implementation over pure JS anyway.

A "decent" Framework will compile both to machine code in an "ahead of 
time" manner, so simple close loops should result in very similar 
performance.

The compiler creating WebAssembly can introduce decent optimization. So 
performance will depend on the Compiler-

Hand written Java Script might be good or bad so performance will depend 
on the author.

It will be interesting to compare the result of the two fpc compilers, 
when available :)

-Michael



More information about the fpc-pascal mailing list