That way lies madness
That way lies madness
Posted Apr 2, 2012 14:30 UTC (Mon) by Richard_J_Neill (subscriber, #23093)In reply to: That way lies madness by intgr
Parent article: The x32 system call ABI
This is quite a clever trick. If I understand rightly, what Java is doing is giving up byte-addressability, in favour of more address space. I.e. you can't create a pointer to a byte/char any more; the smallest data-type then becomes an int, and strings have to contain 4*n bytes. Given that x86 accesses memory 32-bits at a time anyway, this is a fairly natural thing to do.
