Hornet is a Java virtual machine designed for low latency, high performance applications.
- Multiple backends:
- Interpreter
- DynASM (x86-64)
- LLVM
- Uses OpenJDK for standard class libraries
- Written in C++11
- Runs on Linux and Darwin
- Pauseless GC
- LLVM ahead-of-compilation
- RTJS class library support
First, install dependencies:
Fedora
$ yum install clang java-1.7.0-openjdk-devel
If you want to enable the DynASM backend, install LuaJIT:
$ yum install luajit
If you want to enable the LLVM backend, install the library:
$ yum install llvm-dev
Finally, install Hornet:
$ make install
The command installs an executable hornet
to $HOME/bin
.
Hornet works like java
:
$ hornet
usage: hornet [-options] class [args...]
Copyright © 2013 Pekka Enberg and contributors
Hornet is distributed under the 2-clause BSD license.