Hacker News new | ask | show | jobs
by kgoutham93 2999 days ago
Slightly off topic... If processor can only understand assembly grammar, what's the difference between an interpreter and a compiler?

I understand that interpreter can directly execute the intermediate byte code (giving us portability benefits), but at some point it must convert the byte code into platform independent machine code. Right?

What exactly differentiates an interpreter and a compiler?