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

  1. Seems like that depends on the program. For a program that doesn't lean on GC or concurrency all that much, smaller, faster binaries might be worth it?

    (Not that I'll be using this right away.)

    Replies (1)
    1. The main problem with that is that TinyGo already exists and compiles to embedded systems with LLVM, and smaller binary came with the territory, so there really isn't a niche left for Marmot imo.

      Go could really use better vectorization for hot loop performance though.

      Replies (2)
      1. There is no reason why you can't mix and match good approaches yourself with AI
      2. Unfortunately, TinyGo doesn't support the entire standard library that comes with Go, so _if_ this is something Marmot does then it sounds like a win.

        https://tinygo.org/docs/reference/lang-support/stdlib/

        Replies (1)
        1. Replies (1)
          1. Ouch, that's unfortunate. Hopefully they manage to get 100% support out of the box in the near future.