InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises. Learn more →
Cosmopolitan Alternatives
Similar projects and alternatives to cosmopolitan
-
src
Public git conversion mirror of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the [email protected] mailing list.
-
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
-
-
libc
libc targeted for embedded systems usage. Reduced set of functionality (due to embedded nature). Chosen for portability and quick bringup. (by embeddedartistry)
-
-
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
-
llvm-project
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at http://reviews.llvm.org.
-
Caddy
Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
-
-
fullmoon
Fast and minimalistic Redbean-based Lua web framework in one file.
-
-
mu
Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society. (by akkartik)
-
-
-
-
packj
The vetting tool 🚀 behind our "dependency firewall" to block malicious/risky open-source packages in your software supply chain
-
awesome-cosmopolitan
List of Cosmopolitan Libc related resources and projects
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
cosmopolitan reviews and mentions
-
Nolibc: A minimal C-library replacement shipped with the kernel
Seems unlikely. My spot check of the the two vfprintf implementations shows no flow from one to the other, and shows that part of the Cosmopolitan code has an older lineage than nolibc.
The nolibc source has many reference to copyright held by "Willy Tarreau", under LGPL-2.1 OR MIT license, with a copyright date starting in 2017.
The string "Tarreau" does not exist in the Cosmopolitan library, so that's a strong negative there. Let's look closer.
The file organization is quite different. And so is the implementation. So that's another negative.
Compare the vfprintf in nolibc at https://elixir.bootlin.com/linux/v6.2-rc4/source/tools/inclu... (a 'minimal vfprintf()') with the one in cosmopolitan starting at https://github.com/jart/cosmopolitan/blob/master/libc/stdio/....
Right away we can see nolibc places many functions in the same file while Cosmopolitan uses a one-function-per-filename organization.
Cosmopolitan's fvprintf locks the file (which nolibc doesn't need to do) then calls vfprintf_unlocked which calls __fmt at https://github.com/jart/cosmopolitan/blob/master/libc/fmt/fm... , which is the actual implementation. It look very different from NOLIBC's.
Okay, so perhaps that's they way now but not at the beginning?
We can also go back to Cosmopolitan's original implementation and see how vfprintf goes through https://github.com/jart/cosmopolitan/blob/c91b3c50068224929c... to call "palandprintf", which https://github.com/jart/cosmopolitan/blob/c91b3c50068224929c... says is copyright "Marco Paland" from 2014-2019.
That's a few years older than the start of nolibc, available from https://github.com/mpaland/printf , and part of https://github.com/embeddedartistry/libc , a "libc targeted for embedded systems usage".
Thus, multiple factors seem to agree that nolibc code is not used in the Cosmopolitan library.
-
Ask HN: Resources for Building a Webserver in C?
Here's a 2000 line web server written in C that runs https://ipv4.games/ which you can read at https://github.com/jart/cosmopolitan/blob/master/net/turfwar... This web server runs on a single VM. It was handling about 300 requests per second earlier today. You can monitor its metrics here: https://ipv4.games/statusz It uses *NSYNC as its multi-threaded locking primitives, which was designed by the guy who created Google's lock server.
-
Is there a standardportable C library ?
cosmopolitan though still a work in progress (last time I checked, its scanf() could not parse floats, for example.) But even more amazing, with actually portable executable not only the same code, but the same binary will run on linux, mac and windows (on x86_64).
- blink: tiniest x86-64-linux emulator
-
Rust and C++
Because operating systems have been using different executable formats for decades. That's a trivial implementation detail. To the point that you can build universal binaries with https://github.com/jart/cosmopolitan (though I wouldn't use this for anything serious).
-
AT&T Syntax versus Intel Syntax
AT&T syntax is the most elite syntax. I've used it to write some famous hacks, like Actually Portable Executable. What makes AT&T syntax so powerful is its tight cooperation with the GNU linker. I don't think it would have been possible for me to invent APE had I been using tools like NASM and YASM. https://github.com/jart/cosmopolitan/blob/master/ape/ape.S
-
EAC is pointless
Polyglot executables are a thing, see Cosmopolitan libc.
- Why is Rosetta 2 fast?
-
Jc – JSONifies the output of many CLI tools
But python is also universal? You can just bundle jc inside https://github.com/jart/cosmopolitan/tree/master/third_party... and it's as universal as it gets.
-
Dozens of malicious PyPI packages discovered targeting developers
Indeed! If your dependencies are able to be command line programs that are shell scripted together, then you can in fact have an access policy on a per-dependency basis, using my pledge.com tool. So shell scripters of the world rejoice.
But it gets better. If you build python.com in the Cosmopolitan Libc repository:
git clone https://github.com/jart/cosmopolitan
-
A note from our sponsor - InfluxDB
www.influxdata.com | 30 Jan 2023
Stats
jart/cosmopolitan is an open source project licensed under ISC License which is an OSI approved license.