News for hackers. Stuff that matters.
Re:Introducing MIR by nostrademons on Wednesday April 27, 2016 @07:34PM (#11585476)
The big innovation there is in realizing that's enough. When I was into language design from 2004-2007, language designers usually assumed people wanted full global type inference. It turns out that local type propagation is an effective 80/20 solution for most practical programming tasks, which opened up a lot of hybrid type systems that would've been far too complex before.
Re:Introducing MIR by pshc on Thursday April 28, 2016 @01:25AM (#11586706)
Yes. A blessing in disguise. In hindsight, global type inference seems too unstable. Too much action at a distance; it's hard to evolve a codebase when local changes cascade. Type annotations keep things grounded.