Hacker News new | past | comments | ask | show | jobs | submit login

I implemented a .class disassembler a while back by literally reading the spec. It's surprisingly accessible.



It really is. We've Sun to thank for that I think.


Yeah, I had to write a small bytecode patcher from scratch the other day and was amazed at the quality of the writing in the spec. Took me all but 2h to implement what I wanted, with no real prior knowledge of JVM bytecodes and class file structure.


Yeah we had to create a java compiler and java interpreter in the compiler class I took(of course it was just a small subset of the runtime)

pretty fun project for school but tedious.




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

Search: