TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Simply explained: Where do programming languages come from?

1 pointsby nitnelaveabout 2 years ago

1 comment

ar9avabout 2 years ago
There are two main ways to implement a programming language:<p>A compiler transforms the source code into another language. This is usually executable machine code, but it can be another language for which an implementation already exists.<p>An interpreter is a program that reads source code and evaluates it. Interpreters are typically simpler to implement than compilers, but there is some overhead involved with re-reading the source every time the program is executed.<p>Many languages adopt a hybrid of these two - for example, Python code is compiled to Python bytecode which is then interpreted. Some languages have both interpreters and compilers available for them.
评论 #35272849 未加载