linuxkit VS TinyGo

Compare linuxkit vs TinyGo and see what are their differences.

linuxkit

A toolkit for building secure, portable and lean operating systems for containers (by linuxkit)

TinyGo

Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM. (by tinygo-org)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
linuxkit TinyGo
14 95
8,145 14,510
0.4% 1.2%
9.1 9.3
6 days ago 3 days ago
Go Go
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

linuxkit

Posts with mentions or reviews of linuxkit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-18.
  • Gokrazy – Go Appliances
    9 projects | news.ycombinator.com | 18 Dec 2023
    Another project that aims to deliver this is Linuxkit (https://github.com/linuxkit/linuxkit). All the components they ship are written in memory safe languages (usually Go) and run as containers under containerd. You can build a custom image very easily, fully defined as a YAML file.
  • How to connect to a docker container service when it's running on a mac?
    2 projects | /r/selfhosted | 12 Apr 2023
  • An overview of single-purpose Linux distributions
    4 projects | news.ycombinator.com | 17 Feb 2023
    docker-the-company maintained https://github.com/linuxkit/linuxkit when I worked there. I have no idea who maintains it now, but it looks like it is still active (presumably still docker-the-company, since their adopters list [1] lists docker desktop).

    [1]: https://github.com/linuxkit/linuxkit/blob/master/ADOPTERS.md

  • Create a minimalist OS using Docker Containers and Hashicorp Packer
    3 projects | dev.to | 18 Sep 2022
    LF-Edge EVE project leverages Linuxkit to create custom OSs for Edge Devices which in turn leverages Containers as Lego Blocks
  • RootFS Tooling
    6 projects | /r/LinuxNotes | 14 Nov 2021
    LinuxKit - Docker
  • Unpopular opinion: I was promised lightweight containers but I got yet another VM
    1 project | /r/devops | 27 Oct 2021
    Behind the scenes Docker Desktop for Mac spawns a linuxkit VM with a bit of extra stuff like NFS to enable mounting Mac paths into containers. In the Docker Desktop settings you'll find the current resource assignment for that VM. That is pretty much reserved for docker so that it does not have to compete with MacOS processes for available resources.
  • Open source components of Docker for Mac
    1 project | news.ycombinator.com | 4 Sep 2021
  • What happened to the nice Ansible cloud (provisioning) listing?
    2 projects | /r/ansible | 3 Aug 2021
    That said... you might want to check out linuxkit
  • Ask HN: How are you using unikernels?
    8 projects | news.ycombinator.com | 27 May 2021
    The definition of what a unikernel is needs to be narrowed down, a lot of these projects in the space (not all the ones listed above) have material differences that are not clear:

    - some run only one language

    - some require recompilation

    - some essentially swap out libraries, others do something closer to dropping your already mostly static binary in a minimal disk image

    - some build pid1 processes, others VMs images

    Anyway, here are some additional entries in the space:

    - https://ssrg-vt.github.io/hermitux/

    - https://github.com/linuxkit/linuxkit (more embedded/minimal VM than unikernel)

    - https://nabla-containers.github.io/ (runs on Solo5)

    I am going through using Linuxkit to build AMIs for cloud providers now. I wouldn’t necessarily class linuxkit as a universal project because it doesn’t have the hallmark blurring of user and kernel space or kernel-as-a-library but you can customize the kernel so it’s an adjacent idea, and I think it’s the one most likely to be in actual use at non-hyperscalers.

  • Unikraft: Fast, Specialized Unikernels the Easy Way
    5 projects | news.ycombinator.com | 27 Apr 2021
    I believe there is growing interest in providing leaner, "trimmed" runtimes for services deployed to the cloud. Today, this is seen largely by specializing the Linux kernel for, for example, container services[0] or in general[1], as much as that is possible (the paper above covers this problem in greater detail). But, Unikernels in themselves are not yet widely adopted. This is the space Unikraft is aiming to enter, providing the ultimate level of specialization for a target application.

    It's clear that bigger players, such as Red Hat[2] are interested in the topic of unikernels, and that cloud providers are preparing for this future too [3].

    [0]: https://github.com/linuxkit/linuxkit

TinyGo

Posts with mentions or reviews of TinyGo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-18.
  • Gokrazy – Go Appliances
    9 projects | news.ycombinator.com | 18 Dec 2023
  • A "Tiny" APISIX Plugin
    4 projects | dev.to | 27 Nov 2023
    Reading through the documentation, you will understand why this plugin is called "tiny," i.e., the SDK uses the TinyGo compiler instead of the official Go compiler. You can read more about why this is the case on the SDK\'s overview page, but the TLDR version is that the Go compiler can only produce Wasm binaries that run in the browser.
  • What's Zig got that C, Rust and Go don't have? [video]
    4 projects | news.ycombinator.com | 21 Nov 2023
    Not only you can fit Go into a kernel, there is at least two products that do so.

    TamaGo, used to write the firmware used in USB armory.

    https://www.withsecure.com/en/solutions/innovative-security-...

    TinyGo, which even has official Arduino and ARM support, and is sponsored by Google

    https://tinygo.org/

    Ah but that isn't proper Go! Well neither is the C code that is allowed to be used in typical kernel code, almost nothing from ISO C standard library is available, and usually plenty of compiler specific language extensions are used instead.

  • Show HN: A new stdlib for Golang focusing on platform native support
    7 projects | news.ycombinator.com | 2 Oct 2023
    Reminds me of https://tinygo.org/ - a project that brings Golang to embedded devices, browser (wasm) contexts. Do you converge or diverge from that project?
  • TinyGo release 0.29 is out
    1 project | news.ycombinator.com | 30 Aug 2023
  • Pico with C
    2 projects | /r/raspberrypipico | 15 Aug 2023
    You should also consider TinyGo. It can compile Go for the Pico, and is starting to get good device support.
  • Rust 1.71.0
    5 projects | news.ycombinator.com | 13 Jul 2023
    Thankfully some folks completly ignored whatever the rest of the world thinks system programming is all about and created:

    - TinyGo (https://tinygo.org/), which is acknowledged by people in the industry[0][1]

    - TamaGo unikernel on USB Armory secure key (https://www.withsecure.com/de/solutions/innovative-security-...)

    And then there is the question if writing compilers, assemblers, linkers is systems programming or not.

    [0]-https://www.cnx-software.com/2019/08/28/tinygo-go-compiler-f...

    [1]-https://twitter.com/ArmSoftwareDev/status/131680481331796787...

  • When would you (not) recommend Go over Rust?
    2 projects | /r/golang | 10 Jul 2023
    Have you seen TinyGo? In the case of embedded system I would probably still chose C over Rust if the system didn't support dynamic memory allocation, and most embedded systems do not.
  • “C is quirky, flawed, and an enormous success” – Dennis Ritchie
    1 project | news.ycombinator.com | 9 Jul 2023
    >I really hate how for microcontrollers the only two choices are either C++ or Micropython

    There's TinyGo as well. https://tinygo.org/

  • WebAssembly System Interface (WASI) with sockets for Go
    3 projects | /r/golang | 30 May 2023
    Gist link fixed, thanks. Compared to TinyGo, Go with GOOS=wasip1 will probably generate larger artifacts (at least, for now). This is because it bundles the entire Go runtime. The benefit is that it fully supports goroutine scheduling and non-blocking I/O. TinyGo (I believe) still uses a custom asyncify pass and does not support non-blocking I/O nor basic WASI networking (e.g. https://github.com/tinygo-org/tinygo/pull/2748 never landed, but GOOS=wasip1 supports it).

What are some alternatives?

When comparing linuxkit and TinyGo you can also consider the following projects:

nanos - A kernel designed to run one and only one application in a virtualized environment

MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems

unikraft - A next-generation cloud native kernel designed to unlock best-in-class performance, security primitives and efficiency savings.

go - The Go programming language

lxd - Powerful system container and virtual machine manager [Moved to: https://github.com/canonical/lxd]

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

mirage - MirageOS is a library operating system that constructs unikernels

micropython-ulab - a numpy-like fast vector module for micropython, circuitpython, and their derivatives

kata-containers - Kata Containers is an open source project and community working to build a standard implementation of lightweight Virtual Machines (VMs) that feel and perform like containers, but provide the workload isolation and security advantages of VMs. https://katacontainers.io/

awesome-micropython - A curated list of awesome MicroPython libraries, frameworks, software and resources.

firecracker-container

PlatformIO - Your Gateway to Embedded Software Development Excellence :alien: