--- Nicolas Cannasse <[EMAIL PROTECTED]> wrote:
> Matt Campbell a écrit :
> > I was reading about Mozilla's new Tamarin project
> > (http://www.mozilla.org/projects/tamarin/), which is based on source
> > code from Adobe's AVM2. The goal is an implementation of ECMAScript 4th
> > edition; currently, there's a VM and a prototype compiler written in
> > ECMAScript itself. So I wonder how this VM compares to Neko. Since the
> > VM is designed for a dynamically typed language with optional static
> > typing, wouldn't it be possible for other dynamic languages to target
> > this VM? Aside from the fact that Tamarin is still in early
> > development, what advantages does Neko have?
>
> I have been studying closely the AVM2 since haXe (http://haxe.org)
> target it with compiling for Flash9. Its design is quite similar to the
> JavaVM, with additional dynamic opcodes.
>
> It's based on a class model with a classic OO typesystem, and is then a
> lot more difficult to target than Neko if your typesystem does not match
> the ActionScript3 one. Also, performances are good when methods are
> fully annotated but are not very good when used dynamicly.
>
> Main advantages of Neko are its lightweight, speed, customization, its
> ability to be easily extensible through dynamic libraries, and the
> availabily of a complete set of standard libraries (filesystem, network,
> database, threads...).
>
> Also, Neko has not been designed to run a particular language, it can
> then be adapted for many different languages.
Too bad they did not give Neko consideration for the new Javascript VM.
It seems like a good fit. I wonder if the license or using conservative
garbage collection was a factor.
I'm a bit confused about haXe's relationship to ECMAScript/Javascript.
Can I write generic (non-browser) javascript code compiled with haXe and
run it on the NekoVM?
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
--
Neko : One VM to run them all
(http://nekovm.org)