Chrome is phasing out NPAPI support by late 2014. Can Delphi be used to compile a Chrome NaCl extension? *only Win support is needed

Comments

  1. No. NaCl needs a toolchain specifically designed for it. AFAIK there are only C/C++ tool chains available. Any open source tool chain could be modified to produce NaCl executables given enough effort. I imagine it'd be simpler if the tool chain is already based on llvm since PNaCl is a subset of the llvm bytecode.

    Since Delphi is proprietary you'd have to convince Embarcadero that there's enough demand for NaCL. I think that'd be a hard sell. So far only Chromium based browsers support it.

    For what it's worth there is a project for an open source compiler that is built on top of llvm. I believe the authors used Delphi's published EBNF grammar as a reference. It could be a starting point for an object pascal NaCl tool chain.

    An alternative would be an Object Pascal compiler that cross compiles to asm.js, which seems to have wider browser support. Don't know if Smart Mobile Studio target's asm.js yet or not.

    ReplyDelete

Post a Comment