Ian, What's the advantage of an LLVM based compiler. GC seems to be fast and makes OK code. Is the llvm toolchain that much better?
joe On Wednesday, September 18, 2019 at 5:08:16 PM UTC-7, Ian Lance Taylor wrote: > > On Wed, Sep 18, 2019 at 5:02 PM joe mcguckin > <joseph....@gmail.com <javascript:>> wrote: > > > > What's the difference between the standard GO compiler and GOLLVM? > > The standard Go compiler, also called the gc compiler, is written > entirely in Go. GoLLVM is written in C++ and uses the LLVM backend. > > > I thought there was an llvm based compiler that was abandoned? > > I don't know just how abandoned is, but it's true that there are two > Go compilers based on LLVM: llgo and GoLLVM. GoLLVM is under active > development. I'm not sure what the status of llgo is. llgo uses > standard Go library packages like go/parser and go/types with the LLVM > backend. > > Ian > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/349445f9-6c3e-49c2-9690-5767928b583a%40googlegroups.com.