Language extensions ?

Andrew Haley aph@redhat.com
Wed Apr 2 10:10:00 GMT 2003


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.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /