cosmopolitan
v
cosmopolitan | v | |
---|---|---|
224 | 228 | |
19,084 | 36,189 | |
1.4% | 0.4% | |
9.8 | 10.0 | |
8 days ago | about 20 hours ago | |
C | V | |
ISC License | MIT 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
v
- Vlang 0.4.1 Released
-
The Pain That Is GitHub Actions
We recently migrated from YAML CI to VSH as well:
https://github.com/vlang/v/blob/master/ci/linux_ci.vsh
-
Zig's Comptime Is Bonkers Good
Zig is also not the only language that has interesting compile-time features. V (Vlang)[1] and D (Dlang) (among others), has them too. It's kind of weird that this is promoted so much with Zig, as if other languages don't have a lot of this.
[1]: https://github.com/vlang/v/blob/master/doc/docs.md#compile-t...
- Vlang: 12x speed up achieved using parallel C back end's production builds
-
Mantis, a web framework written in V
An integrated ORM with database migrations
- V -prod is now 12 times faster on a 14 core CPU due to parallelization
-
Lies we tell ourselves to keep using Golang
What is quite interesting (after looking at their documentation), is that V lang[1] has all that is mentioned: `?`[2], `or`[2], sum types[4], and can return multiple values[5].
[1]: https://vlang.io/
[2]: https://github.com/vlang/v/blob/master/doc/docs.md#optionres...
[3]: https://github.com/vlang/v/blob/master/doc/docs.md#sum-types
[4]: https://github.com/vlang/v/blob/master/doc/docs.md#returning...
- V programming language – Releases 0.4.7
-
V Language Review (2023)
Their site is clearly showing the language is in beta. The V documentation also states that autofree is WIP, and to use the GC instead. This isn't a corporate created language, but looks to be a true volunteer open source effort from people around the world.
Their community, in comparison to others, even has their discussions open and open threads for criticism[1]. These
[1]https://github.com/vlang/v/discussions/7610
-
Towards memory safety with ownership checks for C
V also has this https://github.com/vlang/v/blob/master/doc/docs.md#embed_fil...
What are some alternatives?
glibc - Unofficial mirror of sourceware glibc repository. Updated daily.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
src - Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.
Odin - Odin Programming Language
llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
go - The Go programming language