Skip to main content

add a word size type

No replies
jpraher
Offline
Joined: 2003-06-11

hi all,

often when confronted with nativie code, I want to store a cookie (or an address) to a native struct or smthing like that (like with the peer stuff in awt).

now it would be really cool, if java support a primitive type called "ptr" or whatever, which is 4 bytes on 32 bit machines and 8 bytes on 64 bit architectures.

this would elmiminate the need for the long type for 32 bit which greatly impedes the performance (2 instruction for every 64 bit operation on 32 bit machines).

and as always: I am looking for an osi compatible alternative to the scsl.

-- Jakob