🔤Compiled Language
A language turned into machine code first, then run. A build step, then a fast program.
Think of it like
Think of it like a book that is all put into French before anyone reads it. That takes time, then reading is quick.
Example
Jack builds his Go program once into one file. He copies that file to a server, and it runs there without Go installed.
Why it matters
They are often fast and easy to ship as one file. Many bugs show up before users see them.
Definition
Example code
console
$ gcc hello.c -o hello
$ ./hello
Hello, world!Common mistake
Key takeaways
- 1Build, then run. The whole program is turned into machine code first.
- 2Fast result. The machine runs it with no translator.
- 3Early errors. Many mistakes are caught at build time.