Menu
HomeCatalogComparisonLoginSign upAbout
Go

Go

Developer: Google

0
GitHub

Categories

Programming Languages

Description

An open source programming language supported by Google, built for simple, fast, and reliable software.

Review

Go is a statically typed, compiled programming language designed at Google. It is syntactically similar to C, but with memory safety, garbage collection, structural typing, and CSP-style concurrency.

Code Example

Goroutines make concurrent programming simple:

package main

import (
    "fmt"
    "time"
)

func say(s string) {
    for i := 0; i < 3; i++ {
        time.Sleep(100 * time.Millisecond)
        fmt.Println(s)
    }
}

func main() {
    go say("world")
    say("hello")
}
Reviewed by Tesey

Written by

Tesey
Tesey
Full-stack .NET developer | JS\TS & React frontend | RazorConsole collaborator

Pros & Cons

Pros of Go

  • Free / open source
  • Statically typed
  • Memory safe

Cons of Go

No cons added yet

Alternatives to Go