3 ms·
As an ambitious undergrad, I took the entire language theory/compiler series offered, which ended up in some graduate level courses. I still can't believe the a
by JohnMakin 4y ago
As an ambitious undergrad, I took the entire language theory/compiler series offered, which ended up in some graduate level courses. I still can't believe the amount of work and hassle involved in creating the very simple compiler for a C-like language we implemented on a 32 bit target architecture - when I got to the end of the series, the last course's syllabus was one sentence: "Reverse engineer the JVM."
At that point I realized I was in over my head and walked out. Fun read, thanks for sharing.
- secondcoming 4y agoThe JVM, being stack-based, is relatively easy to decompile (not just disassemble). I had to deal with it when I wrote a bare-bones VB to JVM compiler as an undergraduate.
- peterfirefly 4y agoThe file format is super simple. In contrast, the MSIL/CIL file format is dastardly complicated. Both are stack-based...