Remix.run Logo
win311fwg 9 hours ago

Tinygo's base runtime is only around 10kb. It was minimal enough for my needs. gc's runtime would have been a non-starter for that task, to be fair, but Go isn't an implementation. It is, quite explicitly, a language.

There are language implementations that would have been more minimal than that, sure, but there was no obvious way to get LLMs into alignment. I tried. Multiple times. When I switched to Go, it just worked. It may not be technical perfection, but it let me ship something I had almost given up on and it has satisfied users. The tradeoff was worthwhile for my needs. That tradeoff may not be acceptable in all cases. Hence what is best being meaningless without at least defining which tradeoffs you are willing to accept.

hugodan 8 hours ago | parent [-]

If TinyGo works for your codebase, and those 10KB are something you can live with, then perfect.

Two things to keep in mind here:

1. TinyGo is not Go, more Go-like or adjacent

2. 10KB still matters a lot in a lot of minimal target/usage scenarios

win311fwg 8 hours ago | parent [-]

> TinyGo is not Go

Exactly. Go is a language. Tinygo is an implementation, like gccgo, gc, llgo, etc. Just as gcc, clang, and msvc are not C.

> more Go-like or adjacent

It is true that recover isn't fully spec complaint at this time. That's not entirely unusual for an implementation, though. msvc is famously not 100% spec complaint with C, but Microsoft still officially considers it a C compiler, as do most who use it to compile their C code. There is usually a little grace given.

It is not like Solod that is Go-like but trying to do something quite different. Tinygo is intended to be a proper Go compiler implementation and has achieved that, aside from the recover situation.

> 10KB still matters a lot in a lot of minimal target/usage scenarios

But, of course, if the LLM cannot wrangle the language then it doesn't matter. Nobody cares how large or small your program is if you never ship it. That only matters if you are using LLMs, but since that's what we have always been talking about...

frollogaston 8 hours ago | parent [-]

"One of the things that most distinguishes Go is that it is not just a language, it’s a platform" according to the article

7 hours ago | parent [-]
[deleted]