| What it is | Build simple, secure, scalable systems with Go | Simple, fast, safe, compiled. For developing maintainable software | Efficient, expressive, elegant | An open-source, object-oriented, actor-model, capabilities-secure, high-performance programming language |
| 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
| - static typing with generics and sum types
- compiles about 100k to 700k lines a second; self-hosted compiler
- emits human-readable C for GCC or Clang, plus native backends
- no null, no undefined values, immutable by default
- Option and Result types with mandatory error checks
- tracing GC by default, with autofree, manual and arena options
- cross-compilation with -os windows or -os linux
- live code reloading
- All 10 features
| - statically typed with local type inference, generics, tuples and sum types
- compiles to C, C++ or JavaScript
- small dependency-free native executables for Windows, Linux, BSD and macOS
- deterministic memory management with destructors and move semantics (ORC by default)
- AST macros, templates and compile-time function evaluation
- zero-overhead iterators
- async/await in the standard library
- easy C, C++ and Objective-C wrapping
- All 9 features
| - actors and an actor-model runtime
- reference capabilities checked by the compiler
- data-race free and deadlock-free, with no locks
- type safe, memory safe, no null and exception-safe
- ahead-of-time compilation to native code
- per-actor garbage collection and ORCA actor collection
- C foreign function interface
- language server, linter and Corral dependency manager
|