C Libc

Open-source C projects categorized as Libc

Top 8 C Libc Projects

  1. cosmopolitan

    build-once run-anywhere c library

    Project mention: Ask HN: Who wants to be hired? (November 2026) | news.ycombinator.com | 2026-11-02

    Hi, I'm Gavin. I have 9+ years experience between systems programming (cross-platform and embedded in C and C++), WebAssembly (porting, plugin systems, and binary parsing/recompilation), and Backend (identity and security in Rust, Typescript, Postgres). I'm proud of my open source work such as porting Perl to the Cosmopolitan Libc (featured on HN: https://news.ycombinator.com/item?id=33966755). More recently, I have enabled running binaries embedded in the Cosmo's zip based filesystem https://github.com/jart/cosmopolitan/commit/fdea2482ddc32c5b... . For my next role, I'm mostly interested in systems/Wasm development, but can be flexible to work in an interesting domain.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. printf

    Tiny, fast, non-dependent and fully loaded printf implementation for embedded systems. Extensive test suite passing.

  4. ltp

    Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)

  5. libc

    libc targeted for embedded systems usage. Reduced set of functionality (due to embedded nature). Chosen for portability and quick bringup. (by embeddedartistry)

  6. ghost

    Ghost, a micro-kernel based hobby operating system. (by maxdev1)

  7. musl

    musl - an implementation of the standard library for Linux-based systems - ( Downstream ) submit patches to mailing list (by kraj)

    Project mention: Turns are Better than Radians | news.ycombinator.com | 2026-08-19

    If you're being technical, it's usually not a Taylor series, it's a minimax series. (The difference is that Taylor series minimize error at a given value, whereas minimax is trying to minimize maximum error in a range).

    In most general math library implementations (e.g., the library in glibc, musl, etc.), the implementation of sin, as with most functions, is going to be a polynomial evaluation. See, e.g., https://github.com/kraj/musl/blob/kraj/master/src/math/__cos... for the implementation in musl, or https://github.com/bminor/glibc/blob/master/sysdeps/ieee754/... for glibc's implementation.

    Of course, if you're not using a standard math library implementation, you're probably preferring speed over accuracy, and so you might use a lookup table and linear interpolation to get a very coarse approximation instead.

  8. LibSee

    Link to this library and it will log all the LibC functions you are calling and how much time you are spending in them!

  9. MinQND-libc

    Minimal quick & dirty libc, mainly meant for use in my WebAssembly modules

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C Libc discussion

Log in or Post with

C Libc related posts

Index

What are some of the best open-source Libc projects in C? This list will help you:

# Project Stars
1 cosmopolitan 21,432
2 printf 3,069
3 ltp 2,617
4 libc 663
5 ghost 647
6 musl 426
7 LibSee 22
8 MinQND-libc 11

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that C is
the 6th most popular programming language
based on number of references?