News for hackers. Stuff that matters.
Re:James Gosling Interview by pletnes on Thursday August 12, 2021 @06:34AM (#28154494)
It’s a pedantic statement. Correct for the base language, but numpy supports 16, 32, 64, and maybe extended/128 bit too. It’s the kind of nonsense argument from language flamewars that has no relevancy for practical use cases.

Anyway, java does not have unsigned int, so there you go.

Edit: if he claims that int-is-float like in javascript, he’s just flat wrong.

Re:James Gosling Interview by WoodenChair on Thursday August 12, 2021 @08:31AM (#28155399)
“It’s a pedantic statement. Correct for the base language”

No, it’s not. In the base language Python has an int type that is separate from its float type.

See numbers.Integral and numbers.Real

Re:James Gosling Interview by pletnes on Thursday August 12, 2021 @09:28AM (#28156025)
Yes, hence my edit. Thanks for pointing out the numbers module. There are fractional types there, too. And decimal.