Go4Droid Adds a Go Language Compatibility to Your Device
Computer programmers use many different coding languages. To effectively work with Android, you need to know Java, C++, and XML. Android devices can be used to compile projects in other languages like Go, which was developed by three Google employees back in 2007.
Go, although being a Google project, has no default build options on Android devices. Luckily, XDA Senior Member alireza7991 ported a set of Go tools required to compile on Android. The project includes Go Compiler, Go Linker, Go Packages, and Net support. With this installed, you will be able to write code, compile it on the device, install it, and run it. To play with Go code on your device, you need a rooted ARMv7 device. A NEON-compatible SoC is suggested for faster compilation times.
Installation is very simple, and requires you to side load the tools to your device in recovery mode and reboot. Main commands are explained in the original thread, where you can also find a download link.
Want something on the XDA Portal? Send us a tip!