Subj : Re: Replacing SM with Rhino To : netscape.public.mozilla.jseng From : Matthew Mondor Date : Thu Jan 13 2005 03:57 am On 12 Jan 2005 23:54:38 -0800 "celso" wrote: > I was referring to the two topics in this same newsgroup, titled: > "newbie questions about porting JS to embedded processor" > "Whats about a JIT?" Hmm I couldn't find those articles on the news server, tried MARC for an archive but although they do have mozilla related mailing lists, they don't have mozilla-jseng@mozilla.org one... However after I wrote the last message I started wondering about which JIT compiler: If you're speaking of a JIT for Java, and that Rhino runs under that, it's unlikely to be faster... If speaking of a Rhino JIT implementation, which then runs under a Java implementation with a JIT, that could probably reach impressive results however... Doing this in C is difficult since JIT code becomes hardware-dependent, and will require architecture specific assembly and the like... However, a JS JIT could be made in Java, outputting portable Java bytecode, which then would be executed using the architecture specific Java JIT which already exists, I guess I didn't use Rhino and can't say if it has such JIT to Java bytecode, other Rhino users here will surely help better about this than I can Matt .