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.
- Generate human readable representation of the LLVM intermediate representation (ll file)
- Pass this ll file as an argument to the proteus compilation system
- The above will produce a Java jar file which can be executed or used as a library
Read documentation to learn more about Proteus.