groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Modular C library


From: Alejandro Colomar
Subject: Modular C library
Date: Thu, 29 Dec 2022 13:24:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

Hi Branden,

You mentioned something like this some time ago. And then we came back to it with the subchapter pages.

Every time I try to patch glibc, I come again to this idea: the standard C library is doomed to be a mess, because the standard mandates it. I'm considering writing a new C library that is designed as a hurd of microlibraries, which can be replaced independently. One could mix'n'match each of those microlibraries, since they would only rely on the public interface of other functions, so implementation details would matter very little. The headers would be organized and split, into (relatively-deep) directory trees.

I'll write the functions with a c_ prefix, so that I'm able to reserve all c_* identifiers for use by this library, and all headers will start with <c/*>.

With that, this library will be able to live side-by-side with any libc; and in fact will need it while it's incomplete and it's not the default system library.

So far, I'll make my recent libstp be one of these micro libraries.

If you're interested in it, I'll open a public git repo for it.

Cheers,

Alex

--
<http://www.alejandro-colomar.es/>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]