July 22nd, 2024

Cosmopolitan v3.5.8

Cosmopolitan Libc enables C to be a universal language without interpreters. It produces a polyglot format for various platforms, supporting debugging and offering a `cosmocc` compiler. Join the development team on Redbean Discord for more information.

Read original articleLink Icon
Cosmopolitan v3.5.8

Cosmopolitan Libc is a tool that enables C to be a universal language without requiring an interpreter or virtual machine. It modifies GCC and Clang to produce a POSIX-compliant polyglot format that can run on various platforms. Users can access the `cosmocc` compiler and compile simple programs by following provided instructions. The platform supports debugging through system call logs, function call logs, and GDB. Cosmopolitan can be compiled from source on supported platforms, with additional notes available for Linux, WSL, and others. Interested individuals can join the Cosmopolitan development team on the Redbean Discord server. The project specifies minimum versions and supported platforms, while also acknowledging funding sources and supporters. For further details or assistance, users are encouraged to inquire directly.

Related

Cosmopolitan v3.5

Cosmopolitan v3.5

Cosmopolitan Libc transforms C into a universal language by modifying GCC and Clang to create a POSIX-compliant polyglot format. Users can compile programs using the `cosmocc` compiler and access debugging techniques. The project provides platform notes, a Discord chatroom, and funding acknowledgments.

The C Standard charter was updated, now with security principles as well

The C Standard charter was updated, now with security principles as well

The ISO/IEC JTC1/SC22/WG14 committee oversees C Standard development, focusing on portability, efficiency, and stability. Collaboration with the C++ committee ensures compatibility. Principles guide feature integration, code efficiency, security, and adaptability.

CodeMirror: Extensible code editor component for the web

CodeMirror: Extensible code editor component for the web

CodeMirror is a versatile web code editor with accessibility, syntax highlighting, collaborative editing, and more. It supports multiple languages, offers extensive features, and encourages community contributions and discussions.

Cosmic Desktop Close to Alpha Release, Adds Compositor Multi-Threading

Cosmic Desktop Close to Alpha Release, Adds Compositor Multi-Threading

System76 is finalizing the alpha release of COSMIC Desktop, a Rust-written Linux environment for Pop!_OS. Updates include window styling, shortcuts, gaming fixes, performance enhancements, and multi-threading for better display performance.

Rust on Dreamcast

Rust on Dreamcast

Rust, a popular systems programming language, is being adapted for Dreamcast's SuperH architecture. Developers can use rustc_codegen_gcc and gccrs to compile Rust programs with core and alloc support. Ongoing improvements aim for full std functionality.

Link Icon 6 comments
By @schmorptron - 6 months
For those who don't want to click through to the main github description: "Cosmopolitan Libc makes C a build-anywhere 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 on AMD64 and ARM64 with the best possible performance. "
By @relistan - 6 months
Lots of focus in other comments on pedantry. This looks like a cool project.
By @oguz-ismail - 6 months
The README for this project still says "POSIX-approved" but there is nothing in POSIX that allows mixing commands and binary data in a shell script.

It does allow appending binary data to the end of a shell script* as long as it is guarded from being parsed as shell code by an exit, exec, etc. but that's it.

* https://pubs.opengroup.org/onlinepubs/9799919799/utilities/s...