Re:Open-sourcing Sorbet: a fast, powerful type checker for Ruby
by dnautics on Friday June 21, 2019 @01:39PM
(#20244680)
> a Julia program is a superposition of every optimized implementation of an algorithm and explicit types are used to access and manipulate a subgroup of implementations.
That is an amazing description of what it is!
But since the JIT compiler infers all types, regardless of explicit hinting, it's possible to create tools to evaluate all types before a function is called [1], which combined with the efforts in better precompiling the code (which increases the amount of code that will have the type inferred before running) could make some good tooling for compile time checking.
[1] https://nextjournal.com/jbieler/adding-static-type-checking-...