News for hackers. Stuff that matters.
Re:Yes, Python is Slow, and I Don’t Care by dragonwriter on Friday September 08, 2017 @12:35PM (#15201667)
> You can say that something is a floating point number (a type) but what if that something must be between zero and one? A type can't tell you that.

Sure, it can; many common numeric types include specific ranges, the fact that the range 0-1 doesn't match any common floating point type doesn't mean that it isn't one that could be a type.

Re:Yes, Python is Slow, and I Don’t Care by hellofunk on Friday September 08, 2017 @01:29PM (#15202243)
> many common numeric types include specific ranges

Can you give me a mainstream language example?

Re:Yes, Python is Slow, and I Don’t Care by dragonwriter on Friday September 08, 2017 @02:16PM (#15202647)
Every fixed-size numeric type.