Re: How to check variables for uniqueness ?
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Mon, 19 Feb 2007 20:05:21 -0500
Chris Uppal wrote:
Mike Schilling wrote:I believe that the existing mess could have been avoided with precisely
one change to the existing definition of Java: rather than define a char
as a 16-bit integral type, define it as a non-integral type of an
unspecified size. (Exactly like boolean.)
Of even as an unsigned integral type with a size guaranteed to be <= 31 bits.
There would have to have been small changes to the JVM spec, and to the
serialisation spec too (and to JNI -- though that didn't come out until later).
But nothing of staggering difficulty. Even the JVM /implementation/ would be
largely unchanged since chars are represented in 32-bit slots on the stack
anyway...
For proper interoperability it has to be specified what it is.
Arne
.
- Follow-Ups:
- Re: How to check variables for uniqueness ?
- From: Chris Uppal
- Re: How to check variables for uniqueness ?
- From: Mike Schilling
- Re: How to check variables for uniqueness ?
- References:
- Re: How to check variables for uniqueness ?
- From: Mike Schilling
- Re: How to check variables for uniqueness ?
- From: Chris Uppal
- Re: How to check variables for uniqueness ?
- Prev by Date: Re: Stack trace provided. Help needed in debugging
- Next by Date: Re: java for different platforms
- Previous by thread: Re: How to check variables for uniqueness ?
- Next by thread: Re: How to check variables for uniqueness ?
- Index(es):
Relevant Pages
|
|