Kristian,

Now that I think it over, I do not remeber seeing a 64-bit integer type in any
high-level application language. Perl does not have it, Javascript does not. I
think Java used to not have it, maybe it's been included in Java/.NET by
now. I don't think PHP has it either, not sure about PHP/Python?

Java has had long for a while now. The problem that java has with integer types is that they're all signed, not that they're not available ;-) .NET has both signed and unsigned 64-bit integers.

Javascript doesn't even have an integer type as far as I know. It has Number, which is a double-precision floating point type. The language specification thinks of integers as Numbers that are mathematical integers, and there are a bunch of functions that convert a Number to 32 bit integers or things like that, but their result is still a Number.

Python has a long type, but as with most implicitly typed languages, it's easy to overlook it. Integer math that results in numbers that don't fit in an int returns a long, so you don't really have to worry about it, but you can cast values to long and you can write long literals.


Daniel

--
Daniel Fischer, MySQL Team Lead Build           +46 18174400 ext. 4537
Sun Microsystems GmbH    Sonnenallee 1, DE-85551 Kirchheim-Heimstetten
Geschaeftsfuehrer: Thomas Schroeder, Wolfang Engels, Dr. Roland Boemer
Vorsitz d. Aufs.rat.: Martin Haering   HRB MUC 161028    49.011, 8.376

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to