Tools - Cross Compiler
The Cross Compiler is one of the most important elements of Metismo's Bedrock Development Environment. It enables you to automatically convert your J2ME application to C++, ActionScript and JavaScript.
The Cross Compiler gives you the power to convert to non-Java platforms throughout development, right from the prototyping stage, reducing your total time to market and enabling simultaneous deployment on all of your chosen platforms.
Code Generation
- Converts Java source code to human readable C++
- C++ is as close to the original Java as possible
- C++ can even retain the comments from the original Java
- Platform independent, the same C++ code compiles for ARM / MIPS / PowerPC / x86
- Compatible with a range of compilers; GCC / LLVM / RVCT / Visual Studio / XCode
- Now supports ActionScript and JavaScript generation for web browser platforms
- Supports all major Java 1.5 source constructs including; try/catch, synchronized methods
- Supports nested, inner and anonymous classes
- Cross compilation is fast, typically <10 seconds
- Cross compilation is carried out locally on your PC
Java -> C++ Compatibility
- Method and variable name clashing
- Java constructor chaining behaviours
- Java package support
- Java array emulation including java.lang.Object manipulation
- JVM related exceptions such as NullPointerException
- Class.forName() support
- Optimized type cast determination
- java.lang.String usage conformance
- and many more...
Benefits
- Maintain a single codebase for all platforms - no code fragmentation
- Develop J2ME, BREW, iPhone builds and more, all gaining the benefit of the fast code-change cycle and run-time debugging via Phoney
- No developer learning hurdles to support multiple platforms
...check out the Platforms the Cross Compiler can target!
















