On Wed, 17 Jul 2013 09:44:35 +0200 Sven Barth <[email protected]> wrote:
> >> On Tue, 16 Jul 2013 19:19:34 +0000 > >> Mark Morgan Lloyd <[email protected]> wrote: > > Yes, but asm.js is usually used as an intermediate language akin to > > Java bytecodes. cf Emscripten etc. > > Nevertheless you are free to call normal JS code without problems. > asm.js is a subset of JS after all. How do you think the emscripten > libraries are implemented? > asm.js can run on any JS interpreter that supports a certain JS > standard. The only difference is that interpreters with special support > for asm.js can optimize that code more than usual JS code. > Also CPUs don't know strings either, nevertheless you can see them on > your screen. It's all about interpreting the memory in the correct way > and writing to the correct location. You ruined my fun, Sven. Shame on you. That's what I wanted the very polite Mark to find out for himself. All hints were there. And now you just told him how the 'magic' works. :( At least this thread can hopefully die now. R. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
