Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 727855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:36:54+00:00 2026-05-14T06:36:54+00:00

After reading some material on this subject I’m still not sure what the difference

  • 0

After reading some material on this subject I’m still not sure what the difference between a compiled language and an interpreted language is. I was told this is one of the differences between Java and JavaScript. Would someone please help me in understanding it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T06:36:55+00:00Added an answer on May 14, 2026 at 6:36 am

    What’s the difference between compiled and interpreted language?

    The difference is not in the language; it is in the implementation.

    Having got that out of my system, here’s an answer:

    • In a compiled implementation, the original program is translated into native machine instructions, which are executed directly by the hardware.

    • In an interpreted implementation, the original program is translated into something else. Another program, called “the interpreter”, then examines “something else” and performs whatever actions are called for. Depending on the language and its implementation, there are a variety of forms of “something else”. From more popular to less popular, “something else” might be

      • Binary instructions for a virtual machine, often called bytecode, as is done in Lua, Python, Ruby, Smalltalk, and many other systems (the approach was popularized in the 1970s by the UCSD P-system and UCSD Pascal)

      • A tree-like representation of the original program, such as an abstract-syntax tree, as is done for many prototype or educational interpreters

      • A tokenized representation of the source program, similar to Tcl

      • The characters of the source program, as was done in MINT and TRAC

    One thing that complicates the issue is that it is possible to translate (compile) bytecode into native machine instructions. Thus, a successful intepreted implementation might eventually acquire a compiler. If the compiler runs dynamically, behind the scenes, it is often called a just-in-time compiler or JIT compiler. JITs have been developed for Java, JavaScript, Lua, and I daresay many other languages. At that point you can have a hybrid implementation in which some code is interpreted and some code is compiled.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Someone asked me about this and after reading some big O stuff I still
I want to write a translator between two languages, and after some reading on
After reading some posts like this one: Choose File Dialog It appears that Android
After reading some tutorials I am still unclear on some points about memory management
I'm a newbie with GWT and PHP, and after reading some tutorials it's not
After reading a fair few posts on Stack, and also some material recommended to
After reading some SO threads on this topic: I've come up with these reasons
After reading some information I thought this should work. The JS function is called
So, after reading some SO questions and answers, i still doesn't understand why use
First of all my understanding about scripting language after reading some stuff on web,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.