All Projects → DQNEO → Gojvm

DQNEO / Gojvm

Licence: mit
JVM implementation by Go

Programming Languages

java
68154 projects - #9 most used programming language
go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Gojvm

Jvm
JVM written in Rust
Stars: ✭ 346 (+401.45%)
Mutual labels:  jvm, vm
go-jdk
Run JVM-based code in Go efficiently
Stars: ✭ 61 (-11.59%)
Mutual labels:  vm, jvm
Flatjson
A fast JSON parser (and builder)
Stars: ✭ 39 (-43.48%)
Mutual labels:  jvm
Ore
Repository software for Sponge plugins and Forge mods
Stars: ✭ 63 (-8.7%)
Mutual labels:  jvm
Dockerpi
A Virtualised Raspberry Pi inside a Docker image
Stars: ✭ 1,064 (+1442.03%)
Mutual labels:  vm
Kotlin Boot Camp
kotlin course materials
Stars: ✭ 43 (-37.68%)
Mutual labels:  jvm
Ea Async
EA Async implements async-await methods in the JVM.
Stars: ✭ 1,085 (+1472.46%)
Mutual labels:  jvm
Terraform
Share Terraform best practices and custom modules with the community
Stars: ✭ 39 (-43.48%)
Mutual labels:  vm
Byte Buddy Tutorial
“Byte Buddy Tutorial” 中文翻译:Byte Buddy 教程。
Stars: ✭ 67 (-2.9%)
Mutual labels:  jvm
Graceful Shutdown Spring Boot
Graceful Shutdown with Spring Boot (Demo)
Stars: ✭ 51 (-26.09%)
Mutual labels:  jvm
Jstack Review
Javascript based JVM thread dump analyzer
Stars: ✭ 61 (-11.59%)
Mutual labels:  jvm
Typhon
A virtual machine for Monte.
Stars: ✭ 49 (-28.99%)
Mutual labels:  vm
Arquillian Extension Drone
Arquillian Drone provides a simple way to write functional tests for web apps. Drone brings the power of WebDriver into the Arquillian, and the power of Arquillian to WebDriver.
Stars: ✭ 45 (-34.78%)
Mutual labels:  jvm
Play Scala Slick Example
Example Play Scala project with Slick
Stars: ✭ 59 (-14.49%)
Mutual labels:  jvm
J J Jvm
JVM bytecode interpreter written in Java
Stars: ✭ 40 (-42.03%)
Mutual labels:  jvm
Understandingjvm
《深入理解Java虚拟机》读书笔记
Stars: ✭ 64 (-7.25%)
Mutual labels:  jvm
Ineter
Fast Java library for working with IP addresses, ranges, and subnets
Stars: ✭ 39 (-43.48%)
Mutual labels:  jvm
Postman Sandbox
Sandbox for Postman Scripts to run in Node.js or browser
Stars: ✭ 47 (-31.88%)
Mutual labels:  vm
Staged Streams.scala
Stars: ✭ 55 (-20.29%)
Mutual labels:  jvm
Onnx Scala
An ONNX (Open Neural Network eXchange) API and Backend for Typeful, Functional Deep Learning in Scala
Stars: ✭ 68 (-1.45%)
Mutual labels:  jvm

gojvm

gojvm is an JVM implementation by Go.

It can interpret and run a JVM bytecode file. Currently, it only supports "hello world" and arithmetic addition.

Usage

Hello world

HelloWorld.java

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello world");
    }
}
$ cat HelloWorld.class | go run main.go                                                                                                 (git)-[master]  (p9)
Hello world

Arithmetic addition

Arith.java

public class Arith {
    public static void main(String[] args) {
        int c = sum(30, 12);
        System.out.println(c);
    }

    private static int sum(int a, int b) {
        return a + b;
    }
}
$ cat Arith.class | go run main.go                                                                                                         (git)-[master] ? 
42

How to test

make test

Acknowledgment

gojvm is inspired by PHPJava.

I really appreciate the work.

License

MIT

Author

@DQNEO

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].