DQNEO / Gojvm
Licence: mit
JVM implementation by Go
Stars: ✭ 69
Programming Languages
Projects that are alternatives of or similar to Gojvm
Dockerpi
A Virtualised Raspberry Pi inside a Docker image
Stars: ✭ 1,064 (+1442.03%)
Mutual labels: vm
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
Graceful Shutdown Spring Boot
Graceful Shutdown with Spring Boot (Demo)
Stars: ✭ 51 (-26.09%)
Mutual labels: jvm
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
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
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].