cosmopolitan
src
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 | - |
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
- Release Cosmopolitan v4.0.0 · jart/cosmopolitan
-
Wasmer 5.0
> 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
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
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
-
Flappy Bird for Android, only C, under 100KB
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
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
-
Pnut: A C to POSIX Shell Compiler you can Trust
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
src
-
What Okta Bcrypt incident can teach us about designing better APIs
Interesting! Let's check the OpenBSD implementation of this algorithm, and here is the link to it. The first point of interest lies here:
- OpenBSD 7.5 を 7.6 へ アップグレード
-
OpenBSD Upgrade 7.5 to 7.6
The OpenBSD project released 7.6 of their OS on 8 Oct 2024 as their 57th release 💫
-
OpenBSD now enforcing no invalid NUL characters in shell scripts
Funny enough filenames are just byte sequences. So almost anything goes.
There was just some patch that added '/' protection, because that's the only character that's not allowed in filenames.
https://github.com/openbsd/src/commit/46f7109a9e03df89b66ada...
- We have reached OpenBSD of Theseus
- OpenBSD 7.4 を 7.5 へ アップグレード
-
PostgreSQL on OpenBSD: Upgrade 15 to 16 with pg_upgrade
OpenBSD gives us good documentation as a series of the project. (For example, the man pages are cared and kept maintained.) It's applied to principal service packages as well as the OS. So is as to PostgreSQL.
-
OpenBSD Upgrade 7.4 to 7.5
The OpenBSD project released 7.5 of their OS on 5 Apr 2024 as their 56th release 💫
-
OpenSSH Race condition resulting in potential remote code execution
> Only two remote holes in the default install, in a heck of a long time!
As someone who doesn't know this kind of stuff well, will this cause OpenBSD to have to update the statement above?
https://www.openbsd.org
- Wc2: Investigates optimizing 'wc', the Unix word count program
What are some alternatives?
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.