News for hackers. Stuff that matters.
Re:TypeScript types can run DOOM [video] by akkad33 on Thursday February 27, 2025 @02:58AM (#43192274)
I have seen papers saying at least Java and Python type systems are turing complete. I wouldn't surprised if all type systems are turing complete
Re:TypeScript types can run DOOM [video] by mseepgood on Thursday February 27, 2025 @10:06AM (#43195011)
No, good language designers take care that their type system is not Turing complete.
Re:TypeScript types can run DOOM [video] by pornel on Thursday February 27, 2025 @11:24AM (#43195804)
Is there a mainstream language where this still holds true?

From what I've seen most languages don't want to have a Turing complete type system, but end up with one anyway. It doesn't take much, so it's easy to end up with it accidentally and/or by adding conveniences that don't seem programmable, e.g. associated types and type equality.

Re:TypeScript types can run DOOM [video] by anon25783 on Thursday February 27, 2025 @01:45PM (#43197176)
pretty sure the C type system is not turing complete, but that doesn't necessarily make it superior
Re:TypeScript types can run DOOM [video] by akkad33 on Tuesday March 04, 2025 @02:00AM (#43251240)
Can you give an example of such a language that is type safe (which removes C)