Re:Show HN: I spent my vacation writing a modern JVM assembler
by playing_colours on Thursday June 02, 2022 @04:49PM
(#31600331)
Can anyone recommend a good source (book, articles) to learn Java Bytecode?
[ Parent
| on HN ]
Re:Show HN: I spent my vacation writing a modern JVM assembler
by rzzzt on Thursday June 02, 2022 @04:53PM
(#31600382)
The JVM spec is a bit dry but readable: https://docs.oracle.com/javase/specs/jvms/se17/html/index.ht...
Re:Show HN: I spent my vacation writing a modern JVM assembler
by jfengel on Thursday June 02, 2022 @06:07PM
(#31601136)
There's a very old but still pretty effective book called Programming for the Java Virtual Machine. Byte code is remarkably stable.
(Disclaimer: author)
Re:Show HN: I spent my vacation writing a modern JVM assembler
by topbanana on Thursday June 02, 2022 @04:53PM
(#31600373)
Re:Show HN: I spent my vacation writing a modern JVM assembler
by noone_youknow on Thursday June 02, 2022 @05:11PM
(#31600559)
There's a "cookbook" document in the repo, but it's not very comprehensive - I'd be more than happy to take PRs :) https://github.com/roscopeco/jasm/blob/develop/docs/cookbook...