2009/8/24 bratliff <[email protected]>: > > On Aug 18, 12:54 pm, Barry Hunter <[email protected]> wrote: >> 2009/8/18 <[email protected]>: >> >> >> >> > since the >> > javascript source is not compiled >> >> Actually I think it is. The API I beleive is coded in Java which is >> [cross-]compiled to JavaScript code, somewhat like (if not) GWT. >> >> So getting raw *javascript* code might not even be possible. > > Java is different than JavaScript.
Absolutely. I never meant to imply otherwise! Perhaps: http://code.google.com/webtoolkit/overview.html explains the concept better. "With Google Web Toolkit (GWT), you write your AJAX front-end in the Java programming language which GWT then cross-compiles into optimized JavaScript that automatically works across all major browsers." from what I understand Google Maps uses a similar (but not identical) system. I've added cross- before the word compiled in the above quote ;) > > Java is "pseudo" compiled to a universal virtual machine > architecture. It is similar to Borland's Turbo Pascal. It is not > truly compiled like C++ to the instruction set of a real chip. > > Some JavaScript implementations might perform "just-in-time" > compilation on a specific target machine but JavaScript itself is an > interpreter. It works with ASCII text. Obfuscated JavaScript is just > ASCII text without excess white space and/or long variable names. The > same obfuscated ASCII text will run on any machine architecture. > > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
