Login  Register

Re: Pharo on top of Flash plugin

Posted by Marcus Denker-4 on Mar 08, 2011; 9:23am
URL: https://forum.world.st/Kernel-tp3335157p3340910.html


On Mar 7, 2011, at 1:29 PM, Alexandre Jasmin wrote:

>>> Your image helps me a lot.
>>>
>>> I'm trying to get the Squeak VM compiling with Adobe Alchemy.
>>
>> tell us more :)
>
>
> There are at least two solutions aiming to bring native code to the web
> without installing plug-ins
> - Google Native Client provides a sandboxed environment for x86 code

The interesting aspect of NaCl is that it does have a JIT compiler API...
(Mono is using it already). This means, it would be possible to port Cog to
NaCl *and* have all the speed...
Getting the stack interpreter to run should be even simpler (recompile.. plus
implementing I/O via the NaCl APIs , of course).

http://blog.chromium.org/2011/02/native-client-getting-ready-for-takeoff.html

> - Alchemy (a research project at Adobe) compiles C into the bytecode
> language interpreted by Flash.
>
...
>
> Will let you know how it goes.

Very interesting direction, too! The most challenging question is if
it's possible to somehow "JIT" code... and how fast that then can be.

        Marcus


--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.