Proteus is a compilation system that produces Java™ executables from various other languages, in particular C/C++. The generated executables can run at 85% of native C/C++ code.

Proteus does not directly convert the C/C++/Fortran etc but uses LLVM intermediate representation as a means to obtain language independence. The general process of producing a Java executable with Proteus then can be summarised as below.

  1. Generate human readable representation of the LLVM intermediate representation (ll file)
  2. Pass this ll file as an argument to the proteus compilation system
  3. The above will produce a Java jar file which can be executed or used as a library

Getting Started

  1. Download and install LLVM

  2. Download and install Proteus

  3. Follow the examples

Read documentation to learn more about Proteus.