Announcement

Collapse
No announcement yet.

Gollvm: Google Working On LLVM-Based Go Compiler

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Gollvm: Google Working On LLVM-Based Go Compiler

    Phoronix: Gollvm: Google Working On LLVM-Based Go Compiler

    It seems Google is working on a new Go language compiler that's making use of the LLVM compiler infrastructure...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Nerds, nerds everywhere.

    Comment


    • #3
      Not sure what's the point, but the name is a keeper. It's like a roman spelt Gollum

      Comment


      • #4
        Originally posted by bug77 View Post
        Not sure what's the point, but the name is a keeper. It's like a roman spelt Gollum
        The point is clear, Go has its domain, compilers is not in this domain. Maybe current compiler written in Go will never catch up to the Go compiler in C.

        Comment


        • #5
          But gollvm is written in c++!

          Comment


          • #6
            Originally posted by Drago View Post
            The point is clear, Go has its domain, compilers is not in this domain. Maybe current compiler written in Go will never catch up to the Go compiler in C.
            gccgo already exists, this seems like a bit of a waste of resources

            Comment


            • #7
              this is interesting, LLVM was originally not used because it was too slow (gc is/was much faster) gccgo was brought into existence so that they had a second implementation of the spec. I guess they want to be able to leverage other things inside llvm with this.

              it's interesting nonetheless and I will probably give it a crack once it hits release.

              Comment


              • #8
                Originally posted by peppercats View Post

                gccgo already exists, this seems like a bit of a waste of resources
                GCCGO exists yes, however LLVM is the new/cool kid on the block, where many companies pour resources into. GCC was not very famous for its compile speed, and speed is exactly what Google pursue, thus Golang itself is not very suitable for writing compiler. Its domain is network services, and it is very good at it. It would be interesting if in the future framework like LLVM appears in Rust. Rust is suitable for stuff like that.

                Comment


                • #9
                  Compiling to LLVM will give them access to all the targets LLVM can be compiled to. My guess is that they want a go to WebAssembly compiler so by compiling it to LLVM they will have the advantage to target WebAssembly or other targets.

                  Comment


                  • #10
                    Originally posted by peppercats View Post
                    gccgo already exists, this seems like a bit of a waste of resources
                    Google seems to prefer redundancy and competing with themselves, allows them to adapt better to new situations.

                    Comment

                    Working...
                    X