|
|
|
|
|
by mnarayan01
3289 days ago
|
|
> What is the undecidability result you are referring to? Just the correspondence between static type safety and the halting problem. > I kind of have the feeling you are trying to make a point about formal languages being "the same", whereas the article uses "the same language" to mean "a single programming language" that allows, but does not require, type declarations. Yes this. To me, it felt like the article was making the "stronger" claim, at least until the end when it starts talking about co/contra-variance. |
|
I'm not sure if you are saying that there cannot be programming languages with decidable static type systems. Because there are programming languages with decidable static type systems. Typically you cannot encode Turing machines in the type system, so you don't get the kind of problem you seem to be talking about. (But you haven't really explained what you are talking about.)