r/ProgrammerHumor • • Jan 10 '19

Meme C with Other Programming Languages

Post image
1.6k Upvotes

158 comments sorted by

View all comments

Show parent comments

1

u/ForceBru Jan 11 '19

If I’m not mistaken, .jar files are merely ZIP archives :D

Wait a second, if Java bytecode “doesn’t correspond to Java’s instructions” and is “very different”, how is it even possible that, you know, this bytecode does what the original source code written in Java means? In a sense, any kind of bytecode is “compressed <insert language name>” because... it actually is just a different representation of the same language. Compilers are designed specifically to translate code in some programming language into another one (possibly bytecode) in such a way that the result has exactly the same semantics that the source.

Python’s representation is probably more high-level than Java’s, so that a human can recognize variables and stuff like that.