Get the latest tech news

H2JVM – A Haskell Library for Writing JVM Bytecode


Hi everyone! I have been working on a new library for writing JVM bytecode with Haskell in a nice, high level way and I’d love some feedback on it! The motivation here is for compilers to the JVM so they can focus on the actual code generation, meanwhile H2JVM takes care of all the messy details like StackMapTable analysis, label/offset resolution, etc. Here is a quick example taken from the readme. It generates a simple class file with a single method static int add(int, int) which adds 2 num...

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of jvm bytecode

jvm bytecode

Photo of haskell library

haskell library

Photo of h2jvm

h2jvm

Related news:

News photo

Automatically Packaging a Haskell Library as a Swift Binary XCFramework

News photo

Executing ARM Jazelle (JVM Bytecode) on the Wii's Starlet