logoalt Hacker News

Marmot, an Alternative Go Compiler

90 points • by andreynering • last Friday at 12:18 PM • 23 comments • view on HN

Comments

RamblingCTO • last Saturday at 1:36 PM

Love the idea but it looks like pure claude output. Not sure I want to trust that tbh

➕ show 3 replies
rendaw • yesterday at 9:46 PM

> Go, lowered to machine code

Doesn't the go compiler produce machine code?

➕ show 1 reply
sva_ • yesterday at 8:44 PM

For a moment I thought the produer of my rainjacket ventured into software... even the logo looks kind of similar.

mappu • yesterday at 6:55 PM

How does it compare to tinygo or llgo? Both of which also use LLVM,

➕ show 1 reply
YuechenLi • yesterday at 8:17 PM

Ok, the issue with alternative compiler isn't that individual features fail but when multiple features interact with each other in combination and fail or randomly gets really slow, and this only has fairly trivial benchmarks currently.

The bigger issue is that Marmot implements it's own Go runtime as well, including GC, channels, and goroutine scheduler, and you can immediately see from their own benchmark that Marmot's performance falling off a cliff whenever there is allocation pressure. And an alternative Go with a bad GC and concurrency primitive isn't really worth using since that's Go's main value proposition, no matter how fast you can vectorize the loops.

➕ show 1 reply
jaekwon • yesterday at 7:16 PM

on the opposite spectrum, gno is a go interpreter

dorianmariecom • yesterday at 10:13 PM

i give it a go