NewsWhat Java Should Learn from C and Android

What Java Should Learn from C and Android

Developer.com content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

Recently, some Java experts have weighed in on improvements they think the programming language needs. Charlie Hunt, architect of performance engineering at Salesforce.com and author of the book, Java Performance, says Java could use capabilities similar to C’s struct feature. “[Struct] gives advantages in the area of footprint,” and provides a lightweight object with fields and no methods, he explained.

Doug Lea, who sits on the board of OpenJDK, would like to Java adopt some of Android’s “failsafe” capabilities that isolated applications from one another.

And Hunt and Lea both expressed a desire for parallelism improvements. “Ideally, what you’d like to be able to have is a language and a runtime that you don’t have to express it explicitly. It just figures this out automatically,” said Hunt.

View article

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Latest Posts

Related Stories