talira

Build simple, secure, scalable systems with Go

open sourceBSD-3-Clauseself-hostablefree

Go is an open source, general-purpose programming language supported by Google, designed with systems programming in mind. It's strongly and statically typed and garbage-collected, with goroutines and channels for concurrency built into the language, interfaces and type embedding in place of a class hierarchy, and a large standard library. The reference toolchain (the go command and the gc compiler) compiles ahead of time to native machine code, fast enough to build large executables in seconds, and fetches and authenticates modules through the Go module mirror and checksum database. A new major release comes out every six months, and each is supported until two newer ones are out.

Libraries for Go

View 40 more

Browse all of them: 92 libraries, 22 frameworks, 165 APIs.

Problems it solves

  • a compiled language for network services that's quick to learn for a whole team
  • build a command-line tool that ships as one static binary with no runtime to install
  • write concurrent servers without callbacks or manual thread management
  • which language should I use for a fast backend API that compiles in seconds
  • a language with a big standard library so I need fewer third-party dependencies
  • cross-compile one program for Linux, macOS and Windows from my laptop
  • a garbage-collected language that's still fast enough for infrastructure software
  • keep a large codebase readable and consistent when many engineers work on it

Features

  • static typing with type inference and generics
  • goroutines and channels for concurrency
  • garbage collection
  • compiles ahead of time to native machine code
  • interfaces and type embedding instead of inheritance
  • large standard library
  • modules fetched through the Go module mirror and checksum database
  • cross-compilation to other systems

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Go does.

  1. V Simple, fast, safe, compiled. For developing maintainable software
  2. Nim Efficient, expressive, elegant
  3. Pony An open-source, object-oriented, actor-model, capabilities-secure, high-performance programming language
  4. Crystal A language for humans and computers
  5. Elixir Simple from zero to scale
  6. .NET A free, cross-platform, open-source developer platform for building many kinds of applications

Compare Go with the top 3