minibase VS cosmopolitan

Compare minibase vs cosmopolitan and see what are their differences.

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
minibase cosmopolitan
1 224
179 19,210
0.6% 1.1%
1.8 9.6
4 months ago 19 days ago
C C
GNU General Public License v3.0 only ISC License
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.

minibase

Posts with mentions or reviews of minibase. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-26.
  • Portable Executable
    3 projects | news.ycombinator.com | 26 Feb 2021
    I remember simple use cases for clone() such as spawning child processes with just enough shared resources to execve(). I remember reading a lot of old emails from Torvalds about it, can't find them anymore.

    I used to value portability but now I believe in using Linux everywhere and for everything. I like OpenBSD too but Linux is the stable one you can build anything on. What I wanted to eventually accomplish is a 100% freestanding Linux user space with no libraries at all. Maybe boot straight into the program I want to use, just like we can pass init=/usr/bin/bash in the kernel command line. How far could this go? Using nothing but system calls it's actually possible to get a framebuffer and use software renderering to draw some graphics. I'm guessing pretty far.

    By starting from scratch like this it's possible to fix all the historical problems with our systems. For example, I think it's unacceptable when libraries keep global state. This can't be fixed without getting rid of libc and its buffers and caches and errno. Removing this cruft would actually simplify a threads implementation. And then there's completely insane stuff that should be dropped like .init and .fini sections:

    https://blogs.oracle.com/solaris/init-and-fini-processing-wh...

    A similar statically-linked user space project I found years ago:

    https://github.com/arsv/minibase

cosmopolitan

Posts with mentions or reviews of cosmopolitan. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-10-29.
  • Release Cosmopolitan v4.0.0 · jart/cosmopolitan
    1 project | news.ycombinator.com | 23 Jan 2025
  • Wasmer 5.0
    9 projects | news.ycombinator.com | 29 Oct 2024
    > Using a binary for each platform and chip is the past.

    Cosmopolitan sends its regards: https://github.com/jart/cosmopolitan

    > Rise above with lightweight container[...]

    Ah yes, that famously lightweight way of distributing software, full on virtualised containers, each running an OS.

  • The Fastest Mutexes
    9 projects | news.ycombinator.com | 2 Oct 2024
    Case in point:

    https://github.com/jart/cosmopolitan/blob/master/libc/sysv/s...

    The system call numbers of all the unixlikes are bitwise packed into a single number. There is exactly one of those columns which is stable: the Linux one. Everything else is not part of the binary interface of their respective operating systems.

    I've written about how Linux is special in this regard:

    https://www.matheusmoreira.com/articles/linux-system-calls

    It's a neat hack but I'm afraid it's in grave danger of falling victim to the Darth Vader of OS ABI stability.

    https://lwn.net/Articles/806870/

    > Program to the API rather than the ABI.

    > When we see benefits, we change the ABI more often than the API.

    > I have altered the ABI.

    > Pray I do not alter it further.

  • Embedded Common Lisp merges initial Cosmopolitan port
    2 projects | news.ycombinator.com | 22 Sep 2024
    Maybe portable CL binaries soon-ish (in CL units of time, mind you)!

    Conditional on https://github.com/jart/cosmopolitan/issues/939 as mentioned in INSTALL

  • Cosmopolitan v3.9.2
    1 project | news.ycombinator.com | 22 Sep 2024
  • Flappy Bird for Android, only C, under 100KB
    5 projects | news.ycombinator.com | 21 Sep 2024
    Cosmo gives you what you described above and it’s <10kb

    https://github.com/jart/cosmopolitan

  • Forget ChatGPT: why researchers now run small AIs on their laptops
    13 projects | news.ycombinator.com | 21 Sep 2024
    llamafiles will run on all architectures because they are compiled by cosmopolitan.

    https://github.com/jart/cosmopolitan

      Cosmopolitan Libc makes C a build-once run-anywhere language, like Java, except it doesn't need an interpreter or virtual machine. Instead, it reconfigures stock GCC and Clang to output a POSIX-approved polyglot format that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS with the best possible performance and the tiniest footprint imaginable.
  • Cosmopolitan 3.6.1
    1 project | news.ycombinator.com | 25 Jul 2024
  • Pnut: A C to POSIX Shell Compiler you can Trust
    7 projects | news.ycombinator.com | 23 Jul 2024
    My comment was based on cloning master yesterday and trying to build redbean but hitting what looks like https://github.com/jart/cosmopolitan/issues/940

    Indeed it lioks like the commit you mentioned should have fixed the issue with the pointer having too many bits for the weird kernel used on android and some raspis. Fingers crossed that release works.

  • Show HN: Slab – A programmable markup language for generating HTML
    5 projects | news.ycombinator.com | 23 Jul 2024

What are some alternatives?

When comparing minibase and cosmopolitan you can also consider the following projects:

mrsh - A minimal POSIX shell

glibc - Unofficial mirror of sourceware glibc repository. Updated daily.

s6 - The s6 supervision suite.

llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

liblinux - Linux system calls.

src - Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured

Did you know that C is
the 6th most popular programming language
based on number of references?