What are Golang competitors in 2022 when it comes to one-file binary deployment?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • sdk

    The Dart SDK, including the VM, dart2js, core libraries, and more.

  • Dart. It's also a Google project like Go.

  • core

    .NET news, announcements, release notes, and more! (by dotnet)

  • That's not what OP asked tho. It's very trivial for Rust, C#, Deno (the ones i'm familiar with) to create static one-file binaries. In fact, there are talks in dotnet repo to produce platform specific code by default. The problem you have with glibc is not really a good argument specifically because of containerization. This is probably one of the strongest reasons Go is not as widely adopted. Unless you use CGo, which complicates matter to another magnitude, every good library out there needs to be reimplemented in Go.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Confluent Kafka Golang Client

    Confluent's Apache Kafka Golang client

  • it can be completely statically linked binaries. example: https://github.com/confluentinc/confluent-kafka-go/blob/db57ef6235/kafka/librdkafka_vendor/README.md

  • cosmopolitan

    build-once run-anywhere c library

  • I would say cosmopolitan C library can do even more than just one single binary, since compiled binary can run on any platform(Windows, BSD, Linux...) without recompilation, even as a first binary run by BIOS

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts