Show HN: I spent my vacation writing a modern JVM assembler

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • jasm

    A JVM assembler for the modern age

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

  • proguard

    ProGuard, Java optimizer and obfuscator

  • 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 and analyse Java bytecode.

    Some examples for code generation: ProGuard where the project originated (https://github.com/Guardsquare/proguard), Brainf*ck compiler (https://github.com/mrjameshamilton/bf), Lox compiler (https://github.com/mrjameshamilton/klox)

    Disclaimer: I work at Guardsquare on ProGuardCORE so may be biased ;)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • jssembly

    Jssembly is a library that allows you to execute native assembly from Java.

  • Maker

    Lightweight, full-featured, low-level dynamic Java class generator designed for ease of use.

  • For the code generation phase, it might be easier to bypass emitting a text-based assembly format and just use the ASM library directly. If you want something easier, I wrote a code generation library specifically for that purpose: https://github.com/cojen/Maker It also includes an example "Mini-C" language compiler.

  • kotlin

    The Kotlin Programming Language.

  • proguard-core

    Library to read, write, analyze, and process java bytecode

  • 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 and analyse Java bytecode.

    Some examples for code generation: ProGuard where the project originated (https://github.com/Guardsquare/proguard), Brainf*ck compiler (https://github.com/mrjameshamilton/bf), Lox compiler (https://github.com/mrjameshamilton/klox)

    Disclaimer: I work at Guardsquare on ProGuardCORE so may be biased ;)

  • bf

    An optimizing brainf*ck compiler with multiple target backends: JVM, smali, dex, C, LLVM IR, ARM, WASM, JavaScript and Lox. (by mrjameshamilton)

  • 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 and analyse Java bytecode.

    Some examples for code generation: ProGuard where the project originated (https://github.com/Guardsquare/proguard), Brainf*ck compiler (https://github.com/mrjameshamilton/bf), Lox compiler (https://github.com/mrjameshamilton/klox)

    Disclaimer: I work at Guardsquare on ProGuardCORE so may be biased ;)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • klox

    A Kotlin implementation of lox with a JVM backend built using ProGuardCORE

  • 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 and analyse Java bytecode.

    Some examples for code generation: ProGuard where the project originated (https://github.com/Guardsquare/proguard), Brainf*ck compiler (https://github.com/mrjameshamilton/bf), Lox compiler (https://github.com/mrjameshamilton/klox)

    Disclaimer: I work at Guardsquare on ProGuardCORE so may be biased ;)

  • proguard-assembler

    Assembler and disassembler for Java class files

  • 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 bytecode sequences that we want to test; for example, it's useful to test cases we've seen in the wild (e.g. obfuscated code) or to create a test that doesn't rely on a specific compiler/version.

    An example of using the assembler from a ProGuard unit test https://github.com/Guardsquare/proguard/blob/master/base/src...

  • Grasmin

    Groovy AST Transformation to allow writing Jasmin code (JVM bytecode) directly on groovy files

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • JEP draft: Classfile API

    5 projects | /r/java | 17 Jun 2022
  • JEP draft: Exception handling in switch

    6 projects | news.ycombinator.com | 19 Apr 2024
  • MobiVM, ahead-of-time compiler for Java bytecode, targeting iOS, macOS and Linux

    1 project | news.ycombinator.com | 22 Mar 2024
  • IKVM – A Java Virtual Machine and Bytecode-to-IL Converter for .NET

    1 project | news.ycombinator.com | 22 Feb 2024
  • Regarding Lenses, Prisms and Optics

    4 projects | /r/javahelp | 18 Oct 2023