Just started to add UTF-8 support to libstr, my libc-free string manipulation library written in C
Find the repository on Codeberg: https://codeberg.org/ayba/libstr
Just started to add UTF-8 support to libstr, my libc-free string manipulation library written in C
Find the repository on Codeberg: https://codeberg.org/ayba/libstr
What happens when you point Rust at Cosmopolitan libc and ask cargo to produce ONE binary for six OSes? I spent a few weeks finding out 🔬
✅ Sync Rust crosses Linux x86_64/arm64, macOS, FreeBSD, OpenBSD, Windows from a single binary (ripgrep + dog ported).
❌ Async Rust is Linux-only — mio's reactor requires too much love.
14 findings, 12 fixed. Full writeup:
https://blog.crisidev.org/tags/series-one-bin-to-rule-them-all/
The GNU libc atanh is correctly rounded
https://inria.hal.science/hal-05591661
#HackerNews #GNU #libc #atanh #correctly #rounded #rounding #errors #software #development #libc
Hi #embedded developers, hi #c developers. I am writing a new #libc to explore alternative idioms and hopefully improve ergonomy, expressiveness, and some other points that seem important to me.
I am considering adding a generic interface for allocators, so the default behaviour can be easily overridden by users and third parties, like #zig or #odin.
This pattern could be expanded to features other than allocators, but I'm struggling to decide which ones can be relevant.
Why is there no std::move_only_function in libc++? 😭😭😭
I know there is a pull request since 2024, but I have no idea when or even if it will ever get merged.
I just wanna be able to finally use import std; with libc++ in all my projects.
As a side project, I am working on a deep redesign of the C standard library and am contemplating blogging about it to give myself some motivation, as well as hopefully getting helpful feedback from interested enthusiasts or experienced programmers. Feel free to share this thread and ask questions, I'll be happy to answer them in my next blog post if this gets enough traction (I will post the link here on mastodon).
#programming #c #libc #c23 #c2y #clang #gcc #unix #windows #macos #plan9 #blog
Hey #Linux #Developer,
is there some #libc API that I can query on a file descriptor to get the sector size of a filesystem?