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]

Re: Language extensions ?


Robin Garner writes:
 > 
 > I could use a RawData field as long as I could convert between it and
 > an int/long without the overhead of a procedure call, and do
 > comparisons.  Arithmetic would then be a nice-to-have.
 > 
 > The argument that "java doesn't need to do it because that's what CNI
 > is for" is missing the point of what I'm suggesting.

We're not missing the point.  We're disagreeing.

 > I'm saying that by adding a few features to Java there should be
 > less need to drop out to C/C++, and this would be a Good Thing.

You haven't said why.  IMO it would be a Bad Thing.

Eclipse SWT, for example, does everything this way.  But there are
some nasty consequences: for example, there is no sizeof in Java, and
this casues some fairly evil problems.  And bugs are very hard to
track down.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]