What Java Should Learn from C and Android

by Developer.com Staff

Experts say the language could use better parallelism and struct-like features.

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

This article was originally published on Wednesday Apr 10th 2013
Mobile Site | Full Site