Am 08.11.2017 16:29 schrieb "Michael Schnell via Lazarus" < lazarus@lists.lazarus-ide.org>:
On 08.11.2017 14:15, Sven Barth via Lazarus wrote: > > Nope, WebAssembly and what pas2js does are two different things even if in > the end both run in the browser's JavaScript engine. > Of course I do know this. But AFAIK WebAssembly has been invented with JS in mind, so it might follow some paradigms, that are closer to JS than to Pascal (e.g. not strictly typed variables). So maybe some stages of the transpilation / compilation might be similar. WebAssembly was made with execution in a JavaScript engine in mind not with JavaScript in mind. Reading JS-based WebAssembly code is more like reading native assembly then reading high level code. Regards, Sven
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus