Announcement

Collapse
No announcement yet.

Go 1.5 Released, Its Compiler Toolchain Is Now In Go

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

  • Go 1.5 Released, Its Compiler Toolchain Is Now In Go

    Phoronix: Go 1.5 Released, Its Compiler Toolchain Is Now In Go

    Go 1.5 has been officially released!..

    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
    Go away Go go go

    Comment


    • #3
      As somebody who's never really touched Go... does the person running the program have to have Golang runtime libraries installed? Or do they get packaged when you compile the program?
      I'm assuming this because it uses a GC and other runtime features that are more advanced than, say, a C runtime which is fairly minimal in comparison (and doesn't really affect the size of your programs).

      Just wondering.

      Comment


      • #4
        Originally posted by Daktyl198 View Post
        As somebody who's never really touched Go... does the person running the program have to have Golang runtime libraries installed? Or do they get packaged when you compile the program?
        I'm assuming this because it uses a GC and other runtime features that are more advanced than, say, a C runtime which is fairly minimal in comparison (and doesn't really affect the size of your programs).

        Just wondering.
        It's statically linked by default so a simple hello world program would be around 1MB with most of the stuff being the runtime. There is an option to compile packages as shared libraries but kinda pointless for most use-cases.

        Comment


        • #5
          Originally posted by veeableful View Post
          It's statically linked by default so a simple hello world program would be around 1MB with most of the stuff being the runtime. There is an option to compile packages as shared libraries but kinda pointless for most use-cases.
          Thanks

          Comment


          • #6
            Now that the Go toolchain is written in Go, how are you even supposed to bootstrap it ?

            I mean with GCC it's easy: it's written in C, and there are C compilers written for almost anything able to running code under the sun.
            You're bound to find some C compiler in which to build a preliminary bootstrap of GCC.

            But with Go ? Go compilers aren't as ubiquitous as C.

            Comment


            • #7
              Originally posted by DrYak View Post
              Now that the Go toolchain is written in Go, how are you even supposed to bootstrap it ?

              I mean with GCC it's easy: it's written in C, and there are C compilers written for almost anything able to running code under the sun.
              You're bound to find some C compiler in which to build a preliminary bootstrap of GCC.

              But with Go ? Go compilers aren't as ubiquitous as C.
              You just download the Go binary and use it to bootstrap Go. The binary is statically-linked so you can run it pretty much anywhere without worrying about missing some dependencies.
              Last edited by veeableful; 22 August 2015, 06:24 AM.

              Comment

              Working...
              X