Souping Up Java

Feb. 3, 2003
Compiler improvements also make room for languages, like Java, in more compact environments, allowing it to be used where assembler, C, and C++ are king. In many cases, the optimizations are very similar to those being applied in 8- and 16-bit...

Compiler improvements also make room for languages, like Java, in more compact environments, allowing it to be used where assembler, C, and C++ are king. In many cases, the optimizations are very similar to those being applied in 8- and 16-bit microcontroller compilers. For example, arithmetic operations in a register-based machine aren't performed on the Java stack, but instead employ processor registers. The resulting code is as fast and as compact as comparable C or C++ code.

In many instances, method invocation and new object creation can be optimized as well. Global optimization often provides static-type information, enabling optimizations that aren't possible when considering code on a function or class basis.

Sponsored Recommendations

What are the Important Considerations when Assessing Cobot Safety?

April 16, 2024
A review of the requirements of ISO/TS 15066 and how they fit in with ISO 10218-1 and 10218-2 a consideration the complexities of collaboration.

Wire & Cable Cutting Digi-Spool® Service

April 16, 2024
Explore DigiKey’s Digi-Spool® professional cutting service for efficient and precise wire and cable management. Custom-cut to your exact specifications for a variety of cable ...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!