Re: is STC a good supplementary library for C?

Liste des GroupesRevenir à l c 
Sujet : Re: is STC a good supplementary library for C?
De : mark (at) *nospam* qtrac.eu (Mark Summerfield)
Groupes : comp.lang.c
Date : 04. Aug 2024, 11:26:47
Autres entêtes
Message-ID : <U2CdnXFFytrK1DL7nZ2dnZfqn_GdnZ2d@brightview.co.uk>
References : 1 2
User-Agent : Pan/0.149 (Bellevue; 4c157ba)
On Sat, 3 Aug 2024 13:26:01 +0100, Richard Harnden wrote:
[snip]
I've never hear of it, but from a very quick look I'd say: no.
They seem to be trying to write C++ code in C. If you want C++, use C++.
 
 
I want a generic (int/str/custom struct) set, map, ordered map, vector.
 
I think this is better (I've never used it, but Jacob does know what
he's doing): https://github.com/jacob-navia/ccl
 
Really though, roll your own. It'll be a good exercise for relearning C.

Thanks for all the replies.

I've started reading Jacob Navia's CCL document.

This seems to provide all that I'd need (and more besides).

However, it appears that this was intended to be added to C's standard
library — 12 years ago! The last update was 4 years ago. So it doesn't
look to be maintained and presumably was rejected as an addition to the
standard library?

I certainly think the C standard library ought to offer a lot more so that
practically every C programmer doesn't end up creating their own basic
containers. (An argument strongly made in Navia's document.)

PS I know I could use Python's library but don't want anything that big
(hence not GLib); although I might end up using the Tcl/Tk libs for GUI
apps.

Date Sujet#  Auteur
3 Aug 24 * is STC a good supplementary library for C?13Mark Summerfield
3 Aug 24 +* Re: is STC a good supplementary library for C?9Stefan Ram
3 Aug 24 i+* Re: is STC a good supplementary library for C?3Stefan Ram
3 Aug 24 ii`* Re: is STC a good supplementary library for C?2Bart
4 Aug 24 ii `- Re: is STC a good supplementary library for C?1Lawrence D'Oliveiro
4 Aug 24 i`* Re: is STC a good supplementary library for C?5Blue-Maned_Hawk
5 Aug 24 i `* Re: is STC a good supplementary library for C?4Lawrence D'Oliveiro
5 Aug 24 i  `* Re: is STC a good supplementary library for C?3Blue-Maned_Hawk
6 Aug 24 i   `* Re: is STC a good supplementary library for C?2Lawrence D'Oliveiro
6 Aug 24 i    `- Re: is STC a good supplementary library for C?1Blue-Maned_Hawk
3 Aug 24 `* Re: is STC a good supplementary library for C?3Richard Harnden
4 Aug 24  `* Re: is STC a good supplementary library for C?2Mark Summerfield
4 Aug 24   `- Re: is STC a good supplementary library for C?1James Kuyper

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal