#libc — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #libc, aggregated by home.social.
-
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
-
@JensGustedt @wdtz So #C23 adds #memalignment (), defined in <stdlib.h> as a regular function (think side-effects and correctness); it takes the 2's complement negation of the input expressed as a #uintptr_t and masks it against the input. https://cgit.freebsd.org/src/tree/lib/libc/stdlib/memalignment.c #FreeBSD picks it up in #libc from 15.1 and up, so it won't be in the man index until the release: https://www.freebsd.org/releases/15.1R/schedule/ #languagelawyering
-
@JensGustedt @wdtz So #C23 adds #memalignment (), defined in <stdlib.h> as a regular function (think side-effects and correctness); it takes the 2's complement negation of the input expressed as a #uintptr_t and masks it against the input. https://cgit.freebsd.org/src/tree/lib/libc/stdlib/memalignment.c #FreeBSD picks it up in #libc from 15.1 and up, so it won't be in the man index until the release: https://www.freebsd.org/releases/15.1R/schedule/ #languagelawyering
-
@JensGustedt @wdtz So #C23 adds #memalignment (), defined in <stdlib.h> as a regular function (think side-effects and correctness); it takes the 2's complement negation of the input expressed as a #uintptr_t and masks it against the input. https://cgit.freebsd.org/src/tree/lib/libc/stdlib/memalignment.c #FreeBSD picks it up in #libc from 15.1 and up, so it won't be in the man index until the release: https://www.freebsd.org/releases/15.1R/schedule/ #languagelawyering
-
@JensGustedt @wdtz So #C23 adds #memalignment (), defined in <stdlib.h> as a regular function (think side-effects and correctness); it takes the 2's complement negation of the input expressed as a #uintptr_t and masks it against the input. https://cgit.freebsd.org/src/tree/lib/libc/stdlib/memalignment.c #FreeBSD picks it up in #libc from 15.1 and up, so it won't be in the man index until the release: https://www.freebsd.org/releases/15.1R/schedule/ #languagelawyering
-
@JensGustedt @wdtz So #C23 adds #memalignment (), defined in <stdlib.h> as a regular function (think side-effects and correctness); it takes the 2's complement negation of the input expressed as a #uintptr_t and masks it against the input. https://cgit.freebsd.org/src/tree/lib/libc/stdlib/memalignment.c #FreeBSD picks it up in #libc from 15.1 and up, so it won't be in the man index until the release: https://www.freebsd.org/releases/15.1R/schedule/ #languagelawyering
-
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/ -
🐢💤 Oh wow, hold the phone everyone! The #GNU #libc #atanh is now "correctly rounded"—a riveting #update surely to shake the very foundations of #digital #arithmetic. 📈😴 Meanwhile, the entire planet remains blissfully unaware, as another groundbreaking #breakthrough is drowned in a sea of #jargon and #PDFs. 📚🔍
https://inria.hal.science/hal-05591661 #HackerNews #ngated -
🐢💤 Oh wow, hold the phone everyone! The #GNU #libc #atanh is now "correctly rounded"—a riveting #update surely to shake the very foundations of #digital #arithmetic. 📈😴 Meanwhile, the entire planet remains blissfully unaware, as another groundbreaking #breakthrough is drowned in a sea of #jargon and #PDFs. 📚🔍
https://inria.hal.science/hal-05591661 #HackerNews #ngated -
🐢💤 Oh wow, hold the phone everyone! The #GNU #libc #atanh is now "correctly rounded"—a riveting #update surely to shake the very foundations of #digital #arithmetic. 📈😴 Meanwhile, the entire planet remains blissfully unaware, as another groundbreaking #breakthrough is drowned in a sea of #jargon and #PDFs. 📚🔍
https://inria.hal.science/hal-05591661 #HackerNews #ngated -
🐢💤 Oh wow, hold the phone everyone! The #GNU #libc #atanh is now "correctly rounded"—a riveting #update surely to shake the very foundations of #digital #arithmetic. 📈😴 Meanwhile, the entire planet remains blissfully unaware, as another groundbreaking #breakthrough is drowned in a sea of #jargon and #PDFs. 📚🔍
https://inria.hal.science/hal-05591661 #HackerNews #ngated -
🐢💤 Oh wow, hold the phone everyone! The #GNU #libc #atanh is now "correctly rounded"—a riveting #update surely to shake the very foundations of #digital #arithmetic. 📈😴 Meanwhile, the entire planet remains blissfully unaware, as another groundbreaking #breakthrough is drowned in a sea of #jargon and #PDFs. 📚🔍
https://inria.hal.science/hal-05591661 #HackerNews #ngated -
The GNU libc atanh is correctly rounded
https://inria.hal.science/hal-05591661
#HackerNews #GNU #libc #atanh #correctly #rounded #rounding #errors #software #development #libc
-
The GNU libc atanh is correctly rounded
https://inria.hal.science/hal-05591661
#HackerNews #GNU #libc #atanh #correctly #rounded #rounding #errors #software #development #libc
-
The GNU libc atanh is correctly rounded
https://inria.hal.science/hal-05591661
#HackerNews #GNU #libc #atanh #correctly #rounded #rounding #errors #software #development #libc
-
The GNU libc atanh is correctly rounded
https://inria.hal.science/hal-05591661
#HackerNews #GNU #libc #atanh #correctly #rounded #rounding #errors #software #development #libc
-
The GNU libc atanh is correctly rounded
https://inria.hal.science/hal-05591661
#HackerNews #GNU #libc #atanh #correctly #rounded #rounding #errors #software #development #libc
-
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
-
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? -
🎩 Oh joy, another riveting tale about "practical modular inversion" that nobody asked for! 🤓 Lemire's mind-boggling #algorithms are back, now with #binary #flair, to solve problems no one knew existed. Meanwhile, #libc yawns while waiting for someone to care. 🚀
https://purplesyringa.moe/blog/faster-practical-modular-inversion/ #practicalmodularinversion #techhumor #HackerNews #ngated -
🎩 Oh joy, another riveting tale about "practical modular inversion" that nobody asked for! 🤓 Lemire's mind-boggling #algorithms are back, now with #binary #flair, to solve problems no one knew existed. Meanwhile, #libc yawns while waiting for someone to care. 🚀
https://purplesyringa.moe/blog/faster-practical-modular-inversion/ #practicalmodularinversion #techhumor #HackerNews #ngated -
🎩 Oh joy, another riveting tale about "practical modular inversion" that nobody asked for! 🤓 Lemire's mind-boggling #algorithms are back, now with #binary #flair, to solve problems no one knew existed. Meanwhile, #libc yawns while waiting for someone to care. 🚀
https://purplesyringa.moe/blog/faster-practical-modular-inversion/ #practicalmodularinversion #techhumor #HackerNews #ngated -
🎩 Oh joy, another riveting tale about "practical modular inversion" that nobody asked for! 🤓 Lemire's mind-boggling #algorithms are back, now with #binary #flair, to solve problems no one knew existed. Meanwhile, #libc yawns while waiting for someone to care. 🚀
https://purplesyringa.moe/blog/faster-practical-modular-inversion/ #practicalmodularinversion #techhumor #HackerNews #ngated -
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: https://dpaste.com/44XJS89XM.txt curious to hear inputs from #regex wizards as to whether #glibc or #musl is correct! TYVMIA! #linux #libc
-
Unloading LD_PRELOADed libraries.
#C #ASM #LowLevel #DynamicLinker #libC #ld_preload #programming #programacion #hacking
https://ibolcode.net/dmo-blog/2025-11-how-to-unload-a-ld-preload-library-the-hard-way
-
🎉 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. 」
-
Коробка багов (взрывается): кроссплатформенное коварство
В сентябре мы рассматривали релиз 86Box v5.0, приуроченный к тридцати годам со дня выхода в розничную продажу Windows 95, и пообещали показать ещё кое-что. О чём мы сознательно умолчали, и почему оставили находку для отдельной статьи? Что осталось в "коробке"?
https://habr.com/ru/companies/pvs-studio/articles/963286/
#pvsstudio #86box #libc #glibc #freebsd #c11 #эмуляция #совершенный_код #стандарты_кодирования
-
Коробка багов (взрывается): кроссплатформенное коварство
В сентябре мы рассматривали релиз 86Box v5.0, приуроченный к тридцати годам со дня выхода в розничную продажу Windows 95, и пообещали показать ещё кое-что. О чём мы сознательно умолчали, и почему оставили находку для отдельной статьи? Что осталось в "коробке"?
https://habr.com/ru/companies/pvs-studio/articles/963286/
#pvsstudio #86box #libc #glibc #freebsd #c11 #эмуляция #совершенный_код #стандарты_кодирования
-
Коробка багов (взрывается): кроссплатформенное коварство
В сентябре мы рассматривали релиз 86Box v5.0, приуроченный к тридцати годам со дня выхода в розничную продажу Windows 95, и пообещали показать ещё кое-что. О чём мы сознательно умолчали, и почему оставили находку для отдельной статьи? Что осталось в "коробке"?
https://habr.com/ru/companies/pvs-studio/articles/963286/
#pvsstudio #86box #libc #glibc #freebsd #c11 #эмуляция #совершенный_код #стандарты_кодирования
-
Коробка багов (взрывается): кроссплатформенное коварство
В сентябре мы рассматривали релиз 86Box v5.0, приуроченный к тридцати годам со дня выхода в розничную продажу Windows 95, и пообещали показать ещё кое-что. О чём мы сознательно умолчали, и почему оставили находку для отдельной статьи? Что осталось в "коробке"?
https://habr.com/ru/companies/pvs-studio/articles/963286/
#pvsstudio #86box #libc #glibc #freebsd #c11 #эмуляция #совершенный_код #стандарты_кодирования
-
Oh, look! Another "groundbreaking" static version of adb for the elite #Linux crowd 😏. Because who wouldn’t want to clog their #GitHub feed with a static build powered by #musl libc? 🚀 Meanwhile, the GitHub #AI is desperately trying to make it all sound useful. 😂
https://github.com/kiddlu/adb-static #staticadb #libc #developerhumor #HackerNews #ngated -
🎉 Hold the front page! 📰 Two years of #suspense for a terminal emulator just ended...🙄 drumroll please... with a #roadmap update! 🤦♂️ But wait, it's #zero-dependency... because, who needs #libc these days, right? 🚀
https://mitchellh.com/writing/libghostty-is-coming #terminalemulator #update #technews #HackerNews #ngated -
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 https://www.bigorre.org/aero/meteo/libc/fr #crotone #italie #aeroportdecrotone #libc #crv #metar #aviation #meteoaero #avgeek #aeroport vl
-
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 https://www.bigorre.org/aero/meteo/libc/fr #crotone #italie #aeroportdecrotone #libc #crv #metar #aviation #meteoaero #avgeek #aeroport vl
-
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 https://www.bigorre.org/aero/meteo/libc/fr #crotone #italie #aeroportdecrotone #libc #crv #metar #aviation #meteoaero #avgeek #aeroport vl
-
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 https://www.bigorre.org/aero/meteo/libc/fr #crotone #italie #aeroportdecrotone #libc #crv #metar #aviation #meteoaero #avgeek #aeroport vl
-
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 https://www.bigorre.org/aero/meteo/libc/fr #crotone #italie #aeroportdecrotone #libc #crv #metar #aviation #meteoaero #avgeek #aeroport vl
-
Uff!
"jemalloc Postmortem", Jason Evans (https://jasone.github.io/2025/06/12/jemalloc-postmortem/).
Via HN: https://news.ycombinator.com/item?id=44264958
On Lobsters: https://lobste.rs/s/thpska/jemalloc_postmortem
#Malloc #Libc #jemalloc #MemoryManagement #Retrospective #OpenSource #FOSS #Facebook #Meta #FreeBSD #Linux #Windows #Allocators
-
Uff!
"jemalloc Postmortem", Jason Evans (https://jasone.github.io/2025/06/12/jemalloc-postmortem/).
Via HN: https://news.ycombinator.com/item?id=44264958
On Lobsters: https://lobste.rs/s/thpska/jemalloc_postmortem
#Malloc #Libc #jemalloc #MemoryManagement #Retrospective #OpenSource #FOSS #Facebook #Meta #FreeBSD #Linux #Windows #Allocators
-
Uff!
"jemalloc Postmortem", Jason Evans (https://jasone.github.io/2025/06/12/jemalloc-postmortem/).
Via HN: https://news.ycombinator.com/item?id=44264958
On Lobsters: https://lobste.rs/s/thpska/jemalloc_postmortem
#Malloc #Libc #jemalloc #MemoryManagement #Retrospective #OpenSource #FOSS #Facebook #Meta #FreeBSD #Linux #Windows #Allocators
-
Uff!
"jemalloc Postmortem", Jason Evans (https://jasone.github.io/2025/06/12/jemalloc-postmortem/).
Via HN: https://news.ycombinator.com/item?id=44264958
On Lobsters: https://lobste.rs/s/thpska/jemalloc_postmortem
#Malloc #Libc #jemalloc #MemoryManagement #Retrospective #OpenSource #FOSS #Facebook #Meta #FreeBSD #Linux #Windows #Allocators
-
#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.
https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2025-1089
-
Comparison of C/POSIX standard library implementations for Linux
https://www.etalabs.net/compare_libcs.html
#HackerNews #C #POSIX #Linux #Comparison #Libc #Implementations #Programming