cosmopolitan VS src

Compare cosmopolitan vs src and see what are their differences.

src

Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list. (by openbsd)
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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
cosmopolitan src
224 759
19,084 3,384
1.4% 1.7%
9.8 10.0
8 days ago 1 day ago
C C
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.

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

src

Posts with mentions or reviews of src. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-22.

What are some alternatives?

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

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

coreutils - upstream mirror

v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io

PHPT - The PHP Interpreter

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

bastille - Bastille is an open-source system for automating deployment and management of containerized applications on FreeBSD.

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured