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

Marmot, an Alternative Go Compiler (opens external site)

134 points by andreynering 6 days ago | marmot.gaurav.zip | 48 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (2)

  1. How would we measure/compare this for a human-written compiler?

    I mean, the whole point of this project is to produce smaller, faster binaries.

    I guess we could fuzz-test the resulting binaries from each compiler. But that will just prove that we haven't found a problem, not that a problem doesn't exist.

    I don't really see how the compiler being AI-written is changing anything here?

    Replies (1)
    1. Afaik, the litmus test for compilers is to have it compile itself. So have the original Go compiler compile this and then, using the resulting program, compile it again.

      For the other claims I'm not even certain if they aren't mutually exclusive. You can be small, fast, or a mix of the two. Being both smaller and faster is something I'd consider to be possible only in certain situations.