#libc — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #libc, aggregated by home.social.
-
OSDEV: vsnprintf полная реализация без поддержки чисел с плавающей точкой
Руководство по разработки своей версии vsnprintf для целочисленных значений для увлекающихся osdev. Бла бла бла
https://habr.com/ru/articles/1046445/
#форматирование_строк #форматирование_чисел #printf #libc #osdev
-
Bold! The abbreviations in the names are…ugh:
“sp.h Is The Standard Library That C Deserves”, ‘tspader’ (https://spader.zone/sp/ and https://github.com/tspader/sp).
Via HN: https://news.ycombinator.com/item?id=48207043
On Lobsters: https://lobste.rs/s/cvwsxk/sp_h_is_standard_library_c_deserves
-
Bold! The abbreviations in the names are…ugh:
“sp.h Is The Standard Library That C Deserves”, ‘tspader’ (https://spader.zone/sp/ and https://github.com/tspader/sp).
Via HN: https://news.ycombinator.com/item?id=48207043
On Lobsters: https://lobste.rs/s/cvwsxk/sp_h_is_standard_library_c_deserves
-
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/ -
🐢💤 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
-
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.
-
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 -
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. 」
-
🎉 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 #эмуляция #совершенный_код #стандарты_кодирования
-
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 -
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 -
🎉 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
-
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
-
Comparison of C/POSIX standard library implementations for Linux
https://www.etalabs.net/compare_libcs.html
#HackerNews #C #POSIX #Linux #Comparison #Libc #Implementations #Programming
-
(bits) of a Libc, Optimized for Wasm
https://github.com/ncruces/go-sqlite3/tree/main/sqlite3/libc
#HackerNews #Libc #Wasm #Optimization #WebAssembly #GoSQLite3
-
(bits) of a Libc, Optimized for Wasm
https://github.com/ncruces/go-sqlite3/tree/main/sqlite3/libc
#HackerNews #Libc #Wasm #Optimization #WebAssembly #GoSQLite3
-
[Перевод] Ужасное состояние двоичной совместимости Linux (и что с ним делать)
Двоичная совместимость в Linux омрачена одним аспектом, который часто упускаю из виду при рассмотрении выпуска ПО для Linux. В этой статье я расскажу, как можно увидеть этот аспект, как решать эту проблему при выпуске современного ПО и что же именно нужно сделать, чтобы устранить её полностью.
https://habr.com/ru/articles/893720/
#двоичная_совместимость #дистрибутивы_linux #linux #libc #стандартная_библиотека
-
I kind of wish there was a version of Alpine that was libc based - just for desktop NVIDIA support really.
-
I kind of wish there was a version of Alpine that was libc based - just for desktop NVIDIA support really.
-
-
-
把 libc 移植到 GPU 上跑
在「Using Libc for GPUs (llvm.org)」這邊看到的,本來在想是個路人的噱頭 project,但仔細看才發現是 LLVM libc 官方的文件:「Using libc for GPUs」。
不是所有的 libc 函數都被 porting 上去,但從列出來的支援清單可以看到主要就是計算類會用到的,但還是有包括一些 I/O (stdio.h) 與時間 (time.h) 相關的函數:
Once you have finished building the GPU C library it can be used to ru
#Computer #Murmuring #Programming #Software #gpu #libc #llvm
-
把 libc 移植到 GPU 上跑
在「Using Libc for GPUs (llvm.org)」這邊看到的,本來在想是個路人的噱頭 project,但仔細看才發現是 LLVM libc 官方的文件:「Using libc for GPUs」。
不是所有的 libc 函數都被 porting 上去,但從列出來的支援清單可以看到主要就是計算類會用到的,但還是有包括一些 I/O (stdio.h) 與時間 (time.h) 相關的函數:
Once you have finished building the GPU C library it can be used to ru
#Computer #Murmuring #Programming #Software #gpu #libc #llvm
-
Something I would like to make in #rust is a #libc wrapper that uses type-level contracts and optional (maybe debug-by-default) runtime checks. I like Rustix, but I'd like to make something that you can use with magnitudes less footguns.
If you know of a company/team that would be willing to fund such work, I'd be eager to get connected!
#FediHire #contracting
(Please reply with suggested hashtags, I'm not the greatest at these xD) -
Ukrywanie procesów za pomocą ld.so.preload ( https://nfsec.pl/security/6505 ) #linux #security #libc #preloading #twittermigration
-
#TIL J'ai découvert https://justine.lol/cosmopolitan/index.html
Un outil pour compiler du #C vers un format capable de s'exécuter partout : Linux, Windows, Mac, FreeBSD... ARM64 et x86_64, sans reposer sur une plateforme (comme la #JVM) ni sur un interpréteur (comme #Python)
Il y a un article qui détail comment ça fonctionne (je n'ai que lu la moitié parce que je ne comprennais pas, c'est trop bas niveau) https://justine.lol/ape.html
#Dev #CrossCompilation #Compilation #APE #Cosmopolitan #LibC #GCC
-
Exciting easy win I'd been meaning to do for a long time for broadening the scope of libc-test: 45 LoC (including include directives) to dive into a user+mount+net namespace where resolv.conf points to localhost and you have your own localhost you can bind to port 53 on (so resolver can be tested or even fuzzed). Non #musl specific; like all of libc-test, should work for any #libc.
-
-
@mntmn From what I understand though, it is rarely the best approach. Here's an interesting comment by @david_chisnall about the recent addition of some #assembly bits to #FreeBSD #libc:
https://lobste.rs/s/uhdxcb/freebsd_14_1_release_announcement#c_jdakn8