Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



The 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.


The file format is super simple. In contrast, the MSIL/CIL file format is dastardly complicated. Both are stack-based...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: