logoalt Hacker News

eatonphil • yesterday at 6:56 PM • 1 reply • view on HN

I agree this isn't the absolute ideal form. I'd rather it be built in as a language directive or something. noalloc does parse compiler escapes emitted by the Go compiler with `-gcflags=-m -S`. One problem is that these are not really a standard format. But I hope that with testing across versions (over time anyway, I only run this on Go 1.27) it'll be stable enough.


Replies

kvemkon • yesterday at 7:41 PM

Thanks for clarification! I'm glad, that you're using the golang compiler capabilities. And now I see:

https://github.com/theconsensuslabs/noalloc#the-compilers-ou...