classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Classpath build process and VM-specific issues


From: Andrew Haley
Subject: Re: Classpath build process and VM-specific issues
Date: Mon, 5 Apr 2004 17:18:41 +0100

Etienne Gagnon writes:
 > 
 > IMO, the cleanest approach is really the use of a byte array.

Well, I tell you what: we could wrap the {byte[],long} in an opaque
type, call it a "native pointer", and be done with it.

- Everyone who can use a long as a pointer (and, in practice, this is
  everyone) will do so.

- Anyone who needs to use a byte[] as a pointer will do so.

- We can still have some type safety and readability by making
  subclasses of "native pointer".

Andrew.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]