logoalt Hacker News

donatj • today at 10:30 AM • 2 replies • view on HN

Very nice! I have really been enjoying TinyGo for a couple Pi Pico projects I've been toying with.

Way saner than the C pico projects I've helped my friend work on.

Maybe it's just me but I kind of wish there was more of a way to clearly differentiate a Go project from a Tiny Go project, like .tgo file extensions or like a "compiler tinygo" directive in go.mod or something.


Replies

K0IN • today at 11:53 AM

Sorry, I did not use tiny go yet (it's on my bucket list for a long time), i thought it's compatible with go, why would you need a differentiation?

gen2brain • today at 10:35 AM

That is usually done with the build tags, for different OSes and arches, and TinyGo defines the tinygo build tag.