News for hackers. Stuff that matters.
Re:Open-sourcing Sorbet: a fast, powerful type checker for Ruby by rlander on Thursday June 20, 2019 @09:26PM (#20239098)
Just to be a little pedant, Dialyzer (an Erlang success typing lib) precedes Elixir and the other static typing efforts you mentioned by many years, way before this so called “static typing renaissance”.
Re:Open-sourcing Sorbet: a fast, powerful type checker for Ruby by elcritch on Friday June 21, 2019 @05:14AM (#20241024)
Another thing to point out is that (dialyzer) typespecs are extremely prevelant in both Erlang and Elixir libraries and especially the core language libraries. So not only does dialyzer precede the others, it’s become a core part of Elixir and Erlang. In contrast, mypy & sorbet appear to be largely second class tools. TypeScript though appears to have made more inroads.
Re:Open-sourcing Sorbet: a fast, powerful type checker for Ruby by dnautics on Friday June 21, 2019 @01:42PM (#20244702)
eh I would say that dialyzer is kind of a 1.5-class citizen, at least of Elixir. It operates using a very different AST with somewhat different "ideas" of what is what, and writing typespecs in macros is not... easy.