PDA

View Full Version : java vs javascript vs jython vs JPython?



jimi_hendrix
July 28th, 2008, 02:16 AM
whats the general basic differences of java, javascript, jython, and jpython

LaRoza
July 28th, 2008, 02:30 AM
whats the general basic differences of java, javascript, jython, and jpython

Wikipedia down? ;)

Java == Popular Platform that is free, and widely used on desktop computers and devices (including Blu-Ray)

"JavaScript" == Implementation of the EMCA-262 standard, used by Netscape (and others). Other implementation is JScript, used by MS in IE. JScript and JavaScript are nearly identicle and only have a few differences, and the standard language is actually called "ECMAScript", but is generically called "JavaScript" for some reason. Not related to Java, just named similiarly.

Jython == Python for the Java platform

Python == Language spec, most common implementation is "CPython", but also Jython (Java), IronPython (.NET) and a few others exist.

The language called "Java" is often interchangable with the platform, as it is the most common language used on it.

jimi_hendrix
July 28th, 2008, 02:34 AM
Wikipedia down? ;)

Java == Popular Platform that is free, and widely used on desktop computers and devices (including Blu-Ray)

"JavaScript" == Implementation of the EMCA-262 standard, used by Netscape (and others). Other implementation is JScript, used by MS in IE. JScript and JavaScript are nearly identicle and only have a few differences, and the standard language is actually called "ECMAScript", but is generically called "JavaScript" for some reason. Not related to Java, just named similiarly.

Jython == Python for the Java platform

Python == Language spec, most common implementation is "CPython", but also Jython (Java), IronPython (.NET) and a few others exist.

The language called "Java" is often interchangable with the platform, as it is the most common language used on it.

hehe laroza

i never liked wikipedia rarely use it and google brings me junk for things like this :)

ill try harder next to so u dont have to answer my questions

LaRoza
July 28th, 2008, 02:40 AM
i never liked wikipedia rarely use it and google brings me junk for things like this :)

Wikipedia is surprisingly useful for all tech related subjects, especially programming concepts. Remember, programmers are geeks (except for those code monkeys who got tricked by the admissions people) and geeks get tans by sitting in front of monitors (preferably more than one) and to get such a tan, you have to spend a lot of time in front of an LCD monitor (a little less for a CRT, but geeks get rid of those as soon as they can, even for a smaller LCD). This means, in short, that these geeks spend a lot of time on the internet, and as a side effect, wikipedia has benefitted from this.
See article on common topics like ECMAScript: http://en.wikipedia.org/wiki/ECMA-262 and rather less well known concepts like Code Smell: http://en.wikipedia.org/wiki/Code_smell

Even the Java article (not the language, the programming language), makes it clear that it is not JavaScript, and has a link about Jython (which would link to Python).



ill try harder next to so u dont have to answer my questions

Just check wikipedia ;)

Kadrus
July 28th, 2008, 09:19 AM
And Google!It's the internet God.It has all the answers.

ad_267
July 28th, 2008, 09:34 AM
And Google!It's the internet God.It has all the answers.

The first result from google is usually just a link to wikipedia. Skip the middle man!

Kadrus
July 28th, 2008, 11:15 AM
The first result from google is usually just a link to wikipedia. Skip the middle man!
And it links you to loads of website if you keep searching.
Jython (http://www.google.com/search?q=jython&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:official&client=firefox-a)
Java (http://www.google.com/search?q=java&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:official&client=firefox-a)