How many Go compilers are out there?

234 views
Skip to first unread message

JuciÊ Andrade

unread,
Apr 25, 2019, 11:29:32 AM4/25/19
to golang-nuts
These are the ones I am aware of:

. GC toolchain
. GCC
. gopherjs

By Go compiler I mean any tool that understands Go source files and generates executable code.

Thanks


Ian Lance Taylor

unread,
Apr 25, 2019, 11:55:25 AM4/25/19
to JuciÊ Andrade, golang-nuts
There is also llgo (though I'm not sure if that one still works) and GoLLVM.

Ian

Sebastien Binet

unread,
Apr 25, 2019, 2:24:40 PM4/25/19
to Ian Lance Taylor, JuciÊ Andrade, golang-nuts
and tinygo.

-s

JuciÊ Andrade

unread,
May 8, 2019, 6:52:21 AM5/8/19
to golang-nuts
One of the reasons I like Go is the very professional approach to its development. Work is well done since the inception.
Having a language specification appears to be a simple matter, yet many other languages doesn't have such document.
It turns out that this very artefact is essential for writing decent tools and I am glad Go has several independently developed compilers.

Thanks.

Harald Weidner

unread,
May 8, 2019, 8:03:28 AM5/8/19
to golang-nuts
Hello,
There is also Joy, another Go-to-JS Compiler.
https://mat.tm/joy/

EmGo and TinyGo are two Embedded Go (cross) compilers.
https://github.com/ziutek/emgo
https://github.com/tinygo-org/tinygo

The SSA interpreter and gomacro are also somewhat related to a Go compiler.
https://godoc.org/golang.org/x/tools/go/ssa/interp
https://github.com/cosmos72/gomacro

Regards,
Harald
Reply all
Reply to author
Forward
0 new messages