|
|
|
|
|
by pcwalton
5003 days ago
|
|
I've never seen a bytecode that wasn't just a straightforward source-to-source translation of some language. JVM bytecode is pretty much just another way to encode Java (invokedynamic notwithstanding). .NET bytecode is pretty much just another way to write C#. Bytecode really is nothing more than just a compressed source encoding of some language. It doesn't magically result in a VM that can efficiently encode all semantics of all programming languages, and I don't believe such a VM can exist anyway. |
|
I was with you until you said "compressed".
There are plenty of examples where the bytecode representation is bigger than the original source files.