[Lazarus] Firefox OS

Sven Barth pascaldragon at googlemail.com
Mon Jul 15 21:24:03 CEST 2013

On 15.07.2013 13:01, Reinier Olislagers wrote:
> On 15-7-2013 12:49, Kostas Michalopoulos wrote:
>> Since Firefox (and i assume Firefox OS) uses the new "asm.js" subset of
>> javascript (a js subset that looks like assembly which can be converted
>> to native code, something like a js-based portable LLVM bitcode),
>> couldn't FPC generate asm.js code instead of x86 assembly/machine code?
>> Obviously that wouldn't solve the GUI issue (one will still need to
>> implement a HTML-based (or whatever) LCL backend, but i think with
>> canvas nowadays that is possible).
> Or perhaps even FPC=>LLVM backend=>emscripten=>javascript but perhaps
> that's a couple of conversions too many...

I would keep out LLVM and emscripten and just directly generate asm.js 
code which is then simply compatible to the libraries provided by the 
emscripten project.


More information about the Lazarus mailing list