Aonix Demonstration: Java™ Roasts C in Speed Test
“All Java Code” solution featuring PERC Pico is 2x faster than Java with C
Apr 02, 2007 - 17:50 PM
The Aonix demonstration features a computation-intensive fractal program with the fractal rendering implemented in either C or PERC Pico compliant Java code. In both cases, the graphics display is programmed in Java with an SWT graphics interface. The all-Java performance boost revealed by the demonstration is a benefit of the cleaner integration offered by PERC between high- and low-level Java code. The all-Java solution clearly shows the inefficiency introduced by the Java Native Interface (JNI) required to integrate between high-level Java code and low-level C code.
“Marshalling data between Java and C introduces performance overhead, and the JNI interface compromises the Java security model resulting in programming errors,” said Kelvin Nilsen, Aonix CTO. “This weakness coupled with the fact that C programming itself is less secure, less portable, and less scalable than Java illustrates the weakness of such a solution. PERC Pico eliminates that weakness, providing an ‘all Java code’ solution for high performance, complex embedded applications.”
PERC Pico is the first development environment for Java developers truly geared toward the creation of resource-constrained and deeply embedded hard real-time applications and components. One of the design goals for PERC Pico was to offer the means for developers to write high-performance applications using only Java code to eliminate the need to resort to less reliable and less productive C code. Because PERC Pico overcomes the performance limitations inherent in traditional Java VMs, engineers are no longer forced to use C code for low-level and computation-intensive programming that leads to a number of problems ranging from reduced programmer productivity to higher error rates.
The PERC Pico programming model allows developers to write their code in Java and compile it with standard Java compilers. PERC Pico code executes unchanged on traditional Java virtual machines such as Sun HotSpot. However, the more rigorous memory model and execution engine used by PERC Pico supports the possibility of execution throughput comparable to C code. Thus, for the first time, developers have the opportunity to experience the benefits of an all Java code solution without sacrificing performance.
PERC Pico recently launched its first commercial release in March. The demonstration at Embedded Systems Conference takes PERC Pico one step further, using an optimized PERC Ultra / PERC Pico interface that will become available with a subsequent release later this year. The next release of PERC Pico, scheduled for Q3, will also feature many substantial performance optimizations benefiting both throughput and footprint.
Designed as a profile of the Real-Time Specification for Java (RTSJ), PERC Pico can be used in either with an RTOS kernel or in a stand-alone configuration on bare target boards where footprint and execution speed are at a premium. In an RTOS-based configuration, PERC Pico can also be used together with the PERC Ultra virtual machine in an RTOS environment. This dual configuration is ideal for complex embedded applications where developers need to combine high levels of functionality and productivity with access to low-level devices, deterministic response, and high throughput. The PERC Ultra virtual machine offers rich J2SE™-based capabilities and predictable garbage collection, while PERC Pico provides the low-level access and small latencies that are often required.
About Atego:
Atego™ is a world leading software tools and professional services company, focused on helping organizations engineer complex, mission- and safety-critical systems and software. With today’s systems and software engineering projects continually growing in complexity, Atego’s collaborative development tools, robust runtime environments, certification know-how and supporting services enable abstraction, optimization and automation – dramatically increasing quality, security and productivity.
Media Contacts:
- Atego
- Beverley McFarlane, Marketing Manager
Tel: +44 (0)1242 229 335. Email: .(JavaScript must be enabled to view this email address)
- Europe
- Sophie Le Gros, Marketing Manager
Tel: +33 (0)1 41 46 19 91. Email: .(JavaScript must be enabled to view this email address)
- United States
- Gary Cato, Director Marketing
Tel: +1 858-824-0284 . Email: .(JavaScript must be enabled to view this email address)
Atego, 701 Eagle Tower, Montpellier Drive, Cheltenham, GL50 1TA, UK
Tel: +44 (0) 1242 229 300
Email: .(JavaScript must be enabled to view this email address)
Atego, 5930 Cornerstone Court West, Suite 250, San Diego, CA 92121 USA
Tel: 888-91-ATEGO (+1 888-912-8346)
Email: .(JavaScript must be enabled to view this email address)



