jasm

Languages and libraries

bytecode assembler

SHOW HN2022

218points
76comments
#249of 2,570 in 2022
Top 10%of 2022 by points

How HN took it

MixedNo clear lean

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 HN
    • 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 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 HN
    • amazing! 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

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

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 HN
    • 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
  • 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 HN
    • What'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

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/31599603)