SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jan 2000
    0 Post(s)
    0 Thread(s)
    Can somebody please soothe my aching head by telling me what the difference and similarities of Java and Javascript are? One of my friends says Java is a result of Javascript.

    Pokemon Bay - A leading Australian general information Pokemon site.
    Fusion Design - Web site design for anime sites.

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Lancaster, Ca. USA
    1 Post(s)
    0 Thread(s)
    Java is a compiled (turned into machine language) language like C or C++. It can also be pseudo-compiled into bytecode so that it can run on multiple platforms which is how applets work. The bytecode needs a JIT (just in time) compiler to finish compiling the software for it to work. Java is an object oriented language. Java applications can only be used on the type of machines they were compiled for. Java applets can be used on all machines including embedded devices that use a runtime engine.

    Javascript is an interpreted scripting language meaning it is always in human readable form. Javascript is based upon a subset of the functionality built into Java and was developed by Netscape and Sun. In the beginning Javascript was designed as a language to control Java applets and servlets for Netscape products.

    Wayne Luke

    The Majormud Encyclopedia -
    Come Play one of the hottest games on the net.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts