News for hackers. Stuff that matters.
Re:Porffor: A from-scratch ahead-of-time JS engine by com2kid on Tuesday July 30, 2024 @06:21PM (#41114711)
> I'm pretty sure that it is Turing-complete.

Because JS code can arbitrarily modify a type, any language trying to specify what the outputs of a function can be also has to be Turing complete.

There are of course still plenty of types that TS doesn't bother trying to model, but it does try to cover even funny cases like field names going from kebab-case to camelCase.

There are no comments on this comment yet.