Nepedia
Back to Discover
Independent Reader
💻

Bytecode

technology Maturity 11-13 Next article →

Computers use special codes to run programs. This is called bytecode. It is also called portable code. Humans write code using words. But computers find it hard to read those words. A compiler turns human words into bytecode. Bytecode is a set of small numeric codes. These codes are very compact. This makes them easy for a computer to use.

Bytecode helps programs run on many different devices. This is because it does not depend on one type of hardware. A virtual machine can read the bytecode. A virtual machine is a piece of software that acts like a computer. Some systems use a JIT compiler. JIT stands for just-in-time. This tool turns bytecode into machine code while the program runs. This makes the program run much faster. It can be ten times faster than reading source code directly. Many languages use this way. Java and Python use bytecode. Some newer tools like V8 do not use it. They turn source code into machine code right away.

169 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.