News for hackers. Stuff that matters.
Re:Pyre: Fast Type Checking for Python by aero142 on Friday May 11, 2018 @01:46PM (#17049363)
I think describing these as static type systems is a bit limiting. I prefer to think of them as static code analyzers. They don't change anything about the representations in memory, but they do validate invariants about the code. I actually hope we start seeing systems that validate invariants that are not type based like "SQL Injection Safe SQL Query" and "Range between 10-100".
Re:Pyre: Fast Type Checking for Python by dragonwriter on Friday May 11, 2018 @01:51PM (#17049400)
> I actually hope we start seeing systems that validate invariants that are not type based like "SQL Injection Safe SQL Query" and "Range between 10-100".

Both of those can be types in a rich enough type system; the latter is a fairly common example for dependent types, for instance.

Re:Pyre: Fast Type Checking for Python by hellofunk on Friday May 11, 2018 @03:58PM (#17050393)
Agreed, it's like saying C++ has a borrow checker like Rust because memory sanitization tools exist.