I'm not a GWT developer, so I can't say for sure, but I'd bet that GWT
won't support longs for a long time, if ever. One of GWT's primary
goals is to improve user experience, at the expense of developer
experience if necessary. Supporting longs "for real" would be
_really_ slow (you'd have to emulate a long as two ints and do a bunch
of magic to handle bit transitions between the upper and lower words,
and bitwise operators in Javascript are rumoured to be slow because
the interpreter has to cast from double to int, do the op, then cast
back to double). If you have a particular use case, it might be worth
it to create a special-purpose emulation library and port your code to
use it, but I'd bet that it would be easier to port the code to work
on 32-bit ints than it would be to write a 64-bit integer emulator.
Ian
--
Tired of pop-ups, security holes, and spyware?
Try Firefox: http://www.getfirefox.com