Unofficial Hacker News companion — get notified on comment replies, and more.

Optimizing Rustc's next trait solver (opens external site)

213 points by g0xA52A2A 7 days ago | donsz.nl | 48 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (3)

  1. type systems correspond to logics so this tends to be how it goes
    Replies (1)
    1. Types are pretty much like values, except at compile time instead of runtime.
      Replies (1)
      1. eh, usually a fairly large difference is that only type resolution implements full unification in most programming languages with type inference.

        there are plenty of languages where types are also just values at runtime for which that's not a particularly helpful conception of things, as well as ones where you have all regular programming facilities at comptime