Re: How to check variables for uniqueness ?
- From: "Mike Schilling" <mscottschilling@xxxxxxxxxxx>
- Date: Wed, 21 Feb 2007 20:18:36 GMT
"Chris Uppal" <chris.uppal@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:45dc303b$0$765$bed64819@xxxxxxxxxxxxxxxxxxxx
Arne Vajhøj wrote:
[me:]
We were considering what changes would have been necessary back at the
beginning of Java's history for this UTF-16 mess to have been avoided,
or avoidable. I agree that we are in fact stuck with what we've got.
Way back then there was no interoperability, since there was nothing to
interoperate /with/ ;-)
It is not backwards compatibility I am talking about.
I am talking about interoperability between JVM's from
different vendors.
If you have a SUN and IBM Java exchanging binary data, then
it is very beneficial that the number of bits in a char is
well defined - not at least X bits as we all know it from C/C++.
Ah, I had misunderstood you. Sorry.
But I don't think it would have been possible to allow for binary
compatibility
(in that sense) /and/ had the Java spec worded in such a way that it
didn't
make it impossible to fix up future problems.
At least, not without buildng extra (explicit) flexibility into each
binary
spec.
That is, Java wouldn't define a binary format for chars; chars would be
exchanged (as Strings are) via some encoding of chars into bytes.
.
- 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 ?
- From: Arne Vajhøj
- Re: How to check variables for uniqueness ?
- From: Chris Uppal
- Re: How to check variables for uniqueness ?
- From: Arne Vajhøj
- Re: How to check variables for uniqueness ?
- From: Chris Uppal
- Re: How to check variables for uniqueness ?
- Prev by Date: browser developed using swing library
- Next by Date: Re: browser developed using swing library
- Previous by thread: Re: How to check variables for uniqueness ?
- Next by thread: Help with an assignment
- Index(es):
Relevant Pages
|