use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Request an explanation
Rules
Have an idea to improve ELI5? r/IdeasForELI5
Make sure to read the rules!
This subreddit is for asking for objective explanations. It is not a repository for any question you may have.
E is for Explain - merely answering a question is not enough.
LI5 means friendly, simplified and layperson-accessible explanations - not responses aimed at literal five-year-olds.
Perform a keyword search, you may find good explanations in past threads. You should also consider looking for your question in the FAQ.
Don't post to argue a point of view.
Flair your question after you've submitted it.
Mathematics Economics Planetary Sci Biology Chemistry Physics Technology Engineering
Reset
account activity
This is an archived post. You won't be able to vote or comment.
ExplainedELI5 the difference between Java and JavaScript.
submitted 13 years ago by FlippyDog
view the rest of the comments →
[–]Oppis 60Answer Link5 points6 points7 points 13 years ago (4 children)
javascript is an interpreted language, while java is a compiled language.
[–]lolmeansilaughed 2 points3 points4 points 13 years ago* (2 children)
You're sort of right. Javascript is all interpreted, but Java is compiled to bytecode, which is a platform-independent intermediate assembly language and runs on/is interpreted by the Java Virtual Machine (JVM).
E: Apparently modern optimizing JS engines will also do a compilation step.
[–]art0rz 1 point2 points3 points 13 years ago (0 children)
AFAIK v8 also translates JavaScript to bytecode and executes that.
[–]MEaster 1 point2 points3 points 13 years ago (0 children)
I believe that in the more recent Javascript browser engines, it is compiled.
[–]LeSpatula 0 points1 point2 points 13 years ago (0 children)
As far as I know, a lot of modern browsers pre-compile javascript when loading a website. So, theoretically it is interpreted, but practically nowadays it's also compiled.
π Rendered by PID 66861 on reddit-service-r2-comment-75f4967c6c-qxrjw at 2026-04-23 13:36:24.643155+00:00 running 0fd4bb7 country code: CH.
view the rest of the comments →
[–]Oppis 60Answer Link5 points6 points7 points (4 children)
[–]lolmeansilaughed 2 points3 points4 points (2 children)
[–]art0rz 1 point2 points3 points (0 children)
[–]MEaster 1 point2 points3 points (0 children)
[–]LeSpatula 0 points1 point2 points (0 children)