Subj : Re: Replacing SM with Rhino To : netscape.public.mozilla.jseng From : celso Date : Thu Jan 13 2005 09:11 am Matthew Mondor wrote: > 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... Do a search in google groups and I'm sure you'll find: http://groups-beta.google.com/group/netscape.public.mozilla.jseng > 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, Yes, I was referring to a JIT for Java, Sun's in particular. > 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, Interesting! > 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 .