Hacker GitHub

← All repos

stclib/STC

View on GitHub ↗ ★ 2,005 C

A modern, user friendly, generic, type-safe and fast C99 container library: String, Vector, Sorted and Unordered Map and Set, Deque, Forward List, Smart Pointers, Bitset and Random numbers.

11 mentions on Hacker News by 9 people: 3 stories, 8 comments · first 2022-03-26 · latest 2025-08-17

Mentions per year 11 mentions · busiest year 2023 (5)
20082026
  1. …assumed GCC https://github.com/P-p-H-d/mlib/blob/4b9c213831624486814a483... STC: assumed -fopenmp https://github.com/stclib/STC/blob/de7313a58f748d9a6da751eb9... CC: assumed clang https://github.com/JacksonAllan/CC/blob/main/tests/run_unit_…
  2. I went down a rabbithole and wow. Found a comment from the author of https://github.com/stclib/STC apparently and then came across this example: https://stackoverflow.com/a/76887723 int coro_a(struct a* g) { cco_routine (g) {…
  3. …true, I've seen a bunch of libraries implement SSO in C: https://nullprogram.com/blog/2016/10/07/ https://github.com/stclib/STC/blob/master/include/stc/cstr.h https://github.com/mystborn/sso_string/blob/master/include/s...
    comment by camel-cdr · 2023-07-09 · in The Development of the C Language (1993)
  4. …promising, though I haven't spent much time looking at it so I can't comment on it's memory safety: https://github.com/tylov/STC
  5. …small and has many bad parts. You can use something like STC [1] to even the playing field. [1] https://github.com/tylov/STC
  6. …[1] https://numpy.org/devdocs/reference/random/bit_generators/sf... [2] https://github.com/tylov/STC/blob/master/docs/crandom_api.md [3] https://arxiv.org/abs/1704.00358 [4] https://espadrine.github.io/blog/posts/shishua-the-faste
    comment by camel-cdr · 2023-02-17 · in A Brief History of Random Numbers
  7. Maybe not it, but STC ( https://github.com/tylov/STC ) and CTL ( https://github.com/glouw/ctl ) both use this define method for creating data structures and linking up compare functions for them.
  8. And this one may be even "better" :) https://github.com/tylov/STC
    comment by florianist · 2022-03-26 · in Uthash – C macros for hash tables and more