On 07/15/2013 10:47 PM, Mark Morgan Lloyd wrote:
asm.js does seem to have a lot going for it. So I suppose a fair question is to what extent custom-drawn LCLs for Android and Firefox OS could share code, and whether this abstraction could be useful for other targets e.g. framebuffer or "naked" X.

http://asmjs.org/spec/latest/#introduction looks really interesting as a target arch for fpc.

AFAIU (but I might be wrong) the Android GUI API is based on HTML4, while the FirefoxOS GUI API is based on HTML5. I understand that HTML5 is a lot more versatile when it you want do display LCL visual objects in a Browser including providing GUI events that trigger Pascal events via an event queue (see EXTPASCAL / EXTJS for HTML4 plus Java script based stuff, that might be used via Comet based HTTP server functionality and often seems to ask for some trouble).

Moreover a future move of Android's towards HTML5 would be rather logical (keep you crystal ball at hand).

-Michael

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to