This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Bryce McKinlay wrote:
However I'm not keen on the idea of implementing this as a GCJ extension with some kind of hacked-up syntax. The benefits of something only supported by GCJ would be limited and the syntax would not make them elegant to use.
Note I'm not suggesting any syntax changes. I'm suggesting a *convention* to make it easy for a compiler like GCJ to implement a fully portable Java class as a stack-allocatable value class instead of heap allocation.
public struct Point { int x; // fields implicitly final int y; }
On the other hand if we had a preliminary imlementation with some performance numbers, that might be both a selling point for gcj, and it might make it easier to justify a JSR.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |