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

Understanding Thermal Challenges in EV Charging Applications

March 28, 2024
As EVs emerge as the dominant mode of transportation, factors such as battery range and quicker charging rates will play pivotal roles in the global economy.

Board-Mount DC/DC Converters in Medical Applications

March 27, 2024
AC/DC or board-mount DC/DC converters provide power for medical devices. This article explains why isolation might be needed and which safety standards apply.

Use Rugged Multiband Antennas to Solve the Mobile Connectivity Challenge

March 27, 2024
Selecting and using antennas for mobile applications requires attention to electrical, mechanical, and environmental characteristics: TE modules can help.

Out-of-the-box Cellular and Wi-Fi connectivity with AWS IoT ExpressLink

March 27, 2024
This demo shows how to enroll LTE-M and Wi-Fi evaluation boards with AWS IoT Core, set up a Connected Health Solution as well as AWS AT commands and AWS IoT ExpressLink security...

Comments

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