jasm
Languages and libraries
bytecode assembler
SHOW HN2022
How HN took it
9 positive, 8 neutral or asking, 0 mixed, 3 critical, out of 20 comments about the project. Thread score +0.25.
Idea: 4 for, 1 againstDesign: 2 for, 0 againstExecution: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Useful for testing and generating bytecode edge cases
From 2 comments
Nice project! At Guardsquare, we have a similar project: https://github.com/Guardsquare/proguard-assembler One of the things we use it for is testing: we can craft specific…
j_ham3 on HNI used to use jasmin to generate invalid code to test an old JVM. I assume this has the same relaxed attitude that will let you generate invalid code?
tstack on HN
Fun and educational project
From 2 comments
This is awesome. I have been toying with writing my own little JVM language (for education purposes) and this could go a long way to making that a bunch easier. Thanks for sharing!
jpgvm on HNamazing! I will definitely discuss this in my compilers class, which targets JVM bytecode as a back end!
recursivedoubts on HN
Objections
Javac output may be as fast or faster than hand-written bytecode
From 1 comment
Looks like a fun project. One thing i'd be interested in, is if it's slower than using javac, given that the JIT can optimize common idioms that the compiler spits out. For…
mbfg on HN
Why not Jasmin; README should explain differences
From 1 comment
Why not Jasmin? Congrats on publishing your application. If this was something more than self-education please sell the benefits over Jasmin in your README? Looking forward to…
mrslave on HN
Requests
Update README to compare with Jasmin
From 1 comment
That's a great suggestion, I'll get the README updated with that. Thanks!
noone_youknow on HN
Questions
How does this differ from Jasmin?
From 1 comment
Why not Jasmin? Congrats on publishing your application. If this was something more than self-education please sell the benefits over Jasmin in your README? Looking forward to…
mrslave on HN
Where to learn Java bytecode
From 1 comment
Can anyone recommend a good source (book, articles) to learn Java Bytecode?
playing_colours on HN
Alternatives named
Jasmin
From 2 comments
I used to use jasmin to generate invalid code to test an old JVM. I assume this has the same relaxed attitude that will let you generate invalid code?
tstack on HNWhy not Jasmin? Congrats on publishing your application. If this was something more than self-education please sell the benefits over Jasmin in your README? Looking forward to…
mrslave on HN
ProGuardCORE and ASM
From 2 comments
Something else that could make your code generation for your JVM language easier: ProGuardCORE (https://github.com/Guardsquare/proguard-core). It can be used to read, generate…
j_ham3 on HNWhat's the main difference compared to the ASM library? When I was still JVM stuff it was really on the right abstraction level for most things. (I was recently doing some .NET…
whizzter on HN
Grasmin
From 1 comment
Groovy version of this but based off Jasmine: https://github.com/renatoathaydes/Grasmin
brabel on HN
proguard-assembler
From 1 comment
Nice project! At Guardsquare, we have a similar project: https://github.com/Guardsquare/proguard-assembler One of the things we use it for is testing: we can craft specific…
j_ham3 on HN