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

Near- and Far-Field Measurements

April 16, 2024
In this comprehensive application note, we delve into the methods of measuring the transmission (or reception) pattern, a key determinant of antenna gain, using a vector network...

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.

Empowered by Cutting-Edge Automation Technology: The Sustainable Journey

April 16, 2024
Advanced automation is key to efficient production and is a powerful tool for optimizing infrastructure and processes in terms of sustainability.

Comments

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