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 (5)

  1. > I don't know if any other compilers that have made the connection to logic programming

    Which other compilers do you know?

    Replies (2)
    1. C++ compilers when doing a mix of template and overload resolution?

      Swift compilers when doing the same?

      Haskell compilers when doing the same?

      Idris, F*, Dafny, Koka,..... compilers doing the same?

      Replies (1)
      1. Did you mean to reply to me or the parent?
        Replies (1)
        1. That was the answer to

          > Which other compilers do you know?

    2. My C compiler rcc uses a handwritten solver in -O3 to solve contracts. I've tried z3 and others, but my own was way faster, no overhead. It's like MySQL vs sqlite in-proc.