Subj : Re: Any pointers to info on JS interpreter implementation? To : netscape.public.mozilla.jseng From : Attila Szegedi Date : Tue May 24 2005 02:54 pm On Mon, 23 May 2005 18:28:12 +0200, Christopher M. Balz wrote: > Where may documents (whitepapers, diagrams) that > describe the implementation of one or more major JS > interpreters (i.e., SeaMonkey, JScript, etc.) be > found? > > Such information is very important to those doing a > lot of JavaScript coding. Hm... I would disagree with you in that they are important. As an analogy, I do lot of Java coding, and while I'm rather familiar with the VM *specification*, I wouldn't really want to be affected in my coding design decisions by the underlying *implementation* details of any JVM. My expectation is that the implementation must not have semantical differences from the specification. Performance problems are a different matter, those can be taken care of with profiling if reallly needed. So, even if I've personally dug through not one JVM implementation's C source code, I still don't want to use that knowledge while coding in Java. Same with JavaScript. There's the ECMA 262 specification (and ECMA 357 as well). They should be the ultimate sources of all the knowledge you need to code in JavaScript. I don't see how details of a particular JavaScript runtime implementation can help you in coding. > > I have been searching and searching . . . > If you really need to, use the source code. Nine months ago, I knew zilch about Rhino. Now I'm rather good at getting around its source code and can find the answers to questions there (when such questions arise). Attila. -- home: http://www.szegedi.org weblog: http://www.jroller.com/page/aszegedi Visit Szegedi Butterfly fractals at: http://www.szegedi.org/fractals/butterfly/index.html > Thank you in advance for your help. > > - Chris B. > .