3 ms·
> It's pretty easy to compile an untyped language to a typed language Did you mean the other way around? Certainly it's possible to compile an untyped language
by michaelmior 9y ago
> It's pretty easy to compile an untyped language to a typed language
Did you mean the other way around? Certainly it's possible to compile an untyped language to a typed language, but it's nontrivial especially in the presence of duck typing.
- comex 9y agoI think they mean by using a single generic type for everything, like you'd see in an interpreter for an untyped language. It's pretty easy, but it's also very slow...
- michaelmior 9y agoFair point. That approach is pretty easy :)