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 reddit.com/r/golang

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • talent.io - Download talent.io’s Tech Salary Report
  • SonarQube - Static code analysis for 29 languages.
  • sdk

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

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

  • core

    Home repository for .NET Core (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.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • 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