Coolest D features

Mike Parker aldacron71 at yahoo.com
Wed Dec 27 13:14:50 PST 2006


Craig Black wrote:

> 
> Unsigned types are missing in Java.  POD means plain old data.  Walter is 
> talking about D's structs which are instantiated on the stack instead of the 
> heap.  Currently, Java has no way of allocating an aggregate data structure 
> on the stack, although I hear that Sun is working on it.
> 
> -Craig 

It's called escape analysis. You can read a bit about it in this article 
by Brian Goetz: 
http://www-128.ibm.com/developerworks/java/library/j-jtp09275.html. And 
it has been implemented for the first time in the latest version of 
Java, 1.6.




More information about the Digitalmars-d mailing list