Gollvm: Google Working On LLVM-Based Go Compiler
Written by Michael Larabel in Google on 29 May 2017 at 01:44 PM EDT. 15 Comments
GOOGLE --
It seems Google is working on a new Go language compiler that's making use of the LLVM compiler infrastructure.

Gollvm has been making rounds this weekend as a new, experimental Go compiler leveraging LLVM. Its Google-hosted code repository says:
LLVM IR generation “middle end” for LLVM-based go compiler. This is currently very much in a prototype phase, with a fairly brittle/fragile build process, so please take careful note of the setup instructions.

Gollvm (name still not finalized) is layered on top of LLVM, much in the same way that things work for “clang” or “compiler-rt”: you check out a copy of the LLVM source tree and then within that tree you check out additional git repos.

You'll need to have an up-to-date copy of cmake on your system (3.6 vintage).
Interesting to see yet another language making use of LLVM, at least in experimental form, given Google's continued interest in LLVM. Those wanting to learn more can see the gollvm Git tree. It will be interesting to see in the future if they decide to make the Gollvm compiler more official or as an eventual replacement to its current compiler.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Google News
Popular News This Week