News for hackers. Stuff that matters.
Re:TypeScripts Type System Is Turing Complete by k__ on Wednesday August 02, 2017 @05:39AM (#14909201)
Isn't that irrelevant in that case?

If the type checker takes too long, sonething isn't right.

Re:TypeScripts Type System Is Turing Complete by naasking on Wednesday August 02, 2017 @06:52AM (#14909504)
How could you possibly quantify "too long" when you can perform arbitrary computation at compile-time? How do you know the library you're using doesn't need you to compute and embed the first N primes in the final output?

At least if your type checker weren't Turing complete, you know it will finish at some point.

Re:TypeScripts Type System Is Turing Complete by k__ on Wednesday August 02, 2017 @08:23AM (#14909912)
But if you got a deadline, everything over it is bad.
Re:TypeScripts Type System Is Turing Complete by naasking on Friday August 04, 2017 @04:14AM (#14927180)
Sure, but "not fast enough for me because X" and simply "wrong/incorrect" are completely different claims.