#LibC

Aymeric Baudayba
2026-01-19

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).

2026-01-07

Hey #Linux #Developer,
is there some #libc API that I can query on a file descriptor to get the sector size of a filesystem?

#Cpp #CSharp

N-gated Hacker Newsngate
2025-12-27

🎩 Oh joy, another riveting tale about "practical modular inversion" that nobody asked for! 🤓 Lemire's mind-boggling are back, now with , to solve problems no one knew existed. Meanwhile, yawns while waiting for someone to care. 🚀
purplesyringa.moe/blog/faster-

2025-12-21

I generated a testset of roughly 2 million patterns and respective matches to test the glob matcher of #sydbox. The glob matching code was inherited from #rsync and was first written in 1986(!). In the process I have noticed 5 divergences between the fnmatch(3) implementations of glibc vs. musl and reported it to musl devs. Here are the divergences: dpaste.com/44XJS89XM.txt curious to hear inputs from #regex wizards as to whether #glibc or #musl is correct! TYVMIA! #linux #libc

2025-11-18

🎉 systemd Lands Experimental Support For musl libc - Phoronix

「 Systemd today finally merged support for building against and using the musl libc library. This is a win for Linux distributions like postmarketOS, Alpine Linux, and others that use musl by default as their standard C library or offer it as an option. 」

phoronix.com/news/systemd-musl

#systemd #musl #libc #postmarketOS #opensource

2025-11-05

Коробка багов (взрывается): кроссплатформенное коварство

В сентябре мы рассматривали релиз 86Box v5.0, приуроченный к тридцати годам со дня выхода в розничную продажу Windows 95, и пообещали показать ещё кое-что. О чём мы сознательно умолчали, и почему оставили находку для отдельной статьи? Что осталось в "коробке"?

habr.com/ru/companies/pvs-stud

#pvsstudio #86box #libc #glibc #freebsd #c11 #эмуляция #совершенный_код #стандарты_кодирования

MysticBasil 🇺🇦vazub@mastodon.online
2025-11-01

This is freaking GENIOUS! I'd say the holy grail of both #static and #dynamic #linking, providing the benefits of both. Can't wait to test it in some real projects.

#detour #libc #dlopen #elf #executable

github.com/graphitemaster/deto

N-gated Hacker Newsngate
2025-10-29

Oh, look! Another "groundbreaking" static version of adb for the elite crowd 😏. Because who wouldn’t want to clog their feed with a static build powered by libc? 🚀 Meanwhile, the GitHub is desperately trying to make it all sound useful. 😂
github.com/kiddlu/adb-static

🇵🇸🇱🇧🇻🇪🇰🇪🇳🇨🇬🇱(🧆🏳️)Popolon🐷ᠫᠣᠫᠣᠯᠣᠨ🐎抱抱龙🐉بوبولون🤖🦧Popolon@snac2.popolon.org
2025-10-24
Thomas WEISSSCHUH presented at kernel recipe 2025 #nolibc a minimalist #libc included in kernel. Headers files are in the kernel source tree and it grown a lot since linux-5.1 initial version, but not installed in system (at least on Arch Linux).

Example given during the conference:
__
hello.c:
#include <stdio.h>

int main(void)
{
printf("Hello World!\n");

return 0;
}
To compile it (you can notice relative path for includes here, I stll have to add `-I/usr/include as last -I` (include path) to have it working (from root of Linux source tree):
cc -nostdinc -nostdlib -static -Iusr/include -Itools/include/nolibc/ -I/usr/include hello.c -o hello
./hello 
Hello World!
N-gated Hacker Newsngate
2025-09-23

🎉 Hold the front page! 📰 Two years of for a terminal emulator just ended...🙄 drumroll please... with a update! 🤦‍♂️ But wait, it's -dependency... because, who needs these days, right? 🚀
mitchellh.com/writing/libghost

🅱🅸🅶🅾🆁🆁🅴.🅾🆁🅶bigorre_org
2025-07-15

Belle météo pour décoller de aéroport de Crotone (Italie) “LIBC 150750Z 05007KT 360V090 CAVOK 31/16 Q1014” : Ce que ça signifie sur bigorre.org/aero/meteo/libc/fr vl

2025-06-11

folks who do smart things with multiprocessing models like Go and Chromium usually don't want C libraries potentially stepping on their toes. Oh gosh threads. The day I figure out how to do those, will be day the whole world will want to use this thing. But I want people who use Cosmopolitan #Libc to know what value it's providing them. I think the best way to do that is by raising awareness of the systems engineering fundamentals like this. Because that's something you're right to point out that the #Linux community leadership has room for improvement on.
news.ycombinator.com/item?id=2

Ahoaho
2025-05-22

@MichaelRoss something I have been trying to look for is a that isn't depending on or another implementation, the reason is there was some malware that attached itself to glibc and prevented you to see the directories and files it used and also the process directory in /proc
Had you a ls that wasn't built with glibc, then all the files and directories would be listed.

2025-05-19

#BSI WID-SEC-2025-1089: [NEU] [hoch] #GNU #libc: Schwachstelle ermöglicht Codeausführung

Ein entfernter, anonymer Angreifer kann eine Schwachstelle in GNU libc ausnutzen, um beliebigen Programmcode auszuführen.

wid.cert-bund.de/portal/wid/se

Hacker Newsh4ckernews
2025-05-10
2025-03-30

[Перевод] Ужасное состояние двоичной совместимости Linux (и что с ним делать)

Двоичная совместимость в Linux омрачена одним аспектом, который часто упускаю из виду при рассмотрении выпуска ПО для Linux. В этой статье я расскажу, как можно увидеть этот аспект, как решать эту проблему при выпуске современного ПО и что же именно нужно сделать, чтобы устранить её полностью.

habr.com/ru/articles/893720/

#двоичная_совместимость #дистрибутивы_linux #linux #libc #стандартная_библиотека

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst