HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
tspader
sp
C2025–2026
tspader / sp

sp

A modern C standard library

2Distinct people
5Mentions
0Explicit recommenders
253GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A modern C standard library

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:03:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month5 dated mentions

Observed mentions: 2025-10-09 14:51:45 UTC to 2026-06-14 19:45:29 UTC.

01232025-10-01 00:00:00 UTC to 2025-11-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsOct 20252025-11-01 00:00:00 UTC to 2025-12-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-12-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-01-01 00:00:00 UTC to 2026-02-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-02-01 00:00:00 UTC to 2026-03-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsFeb 20262026-03-01 00:00:00 UTC to 2026-04-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-01 00:00:00 UTC to 2026-05-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-05-01 00:00:00 UTC to 2026-06-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2026-06-01 00:00:00 UTC to 2026-07-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJun 2026

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Oct 20252025-10-01 00:00:00 UTC2025-11-01 00:00:00 UTC101
Nov 20252025-11-01 00:00:00 UTC2025-12-01 00:00:00 UTC000
Dec 20252025-12-01 00:00:00 UTC2026-01-01 00:00:00 UTC000
Jan 20262026-01-01 00:00:00 UTC2026-02-01 00:00:00 UTC000
Feb 20262026-02-01 00:00:00 UTC2026-03-01 00:00:00 UTC000
Mar 20262026-03-01 00:00:00 UTC2026-04-01 00:00:00 UTC000
Apr 20262026-04-01 00:00:00 UTC2026-05-01 00:00:00 UTC000
May 20262026-05-01 00:00:00 UTC2026-06-01 00:00:00 UTC303
Jun 20262026-06-01 00:00:00 UTC2026-07-01 00:00:00 UTC101

What Hacker News says

5 sources
I am making Cargo for C. I have 3/4 of a working demo; the tool can build itself, including some non-trivial dependencies which I've ported to build natively with the tool (instead of wrapping their Make or CMake or whatever). The pitch: It's insane that we have to pull in Python or Lua to build C code. CMake is an abomination against god that has become usable in spite of itself. Zig cc is proof that this entire ecosystem is an embarrassment. My tool gives C projects a TOML manifest, and builds scripts written in C and JIT compiled by the tool. Now, you can write build scripts in the language itself, pull in dependencies you wanted to use anyway. It also provides a stable ABI. There's an HTTP-backed index and a Git-backed index. And it generally does the same thing for C that, say, Bun did for JS/TS. You'll be able to run C files from s
Read the rest
ource and have the entire ecosystem available. You'll be able to trivially generate single file static binaries, or dynamically link to an older glibc without arcane tricks. It will fix C. I'm also still working on my "what if we wrote a real standard library for C"; I added some feedback I got from the release. https://github.com/tspader/sp
In Ask HN: What are you working on? (June 2026)
> I am trying to track down where the function `sp_mem_allocator_alloc_type` is defined A quick glance at the source on github and here you go: https://github.com/tspader/sp/blob/e64697aa649907ce3357a7dd0... `sp_mem_allocator_alloc_type ` is going through a couple of macro resolutions which ends up at `sp_mem_allocator_alloc` > I'm not going to clone and build this (too dangerous). Your computer won't explode just from downloading and compiling some C code, don't worry ;) The github repo builds and the examples run just fine on macOS by just running `make` in the project directory, although with one warning: warning: 'posix_spawn_file_actions_addchdir_np' is deprecated: first deprecated in macOS 26.0
In sp.h: Fixing C by giving it a high quality, ultra portable standard library
Can you write more about the technical side? How does the transpilation work? Is it mostly naive / 1:1 or do you do any transforms on an AST? What will the language be good for when it's reasonably complete? What are you intentionally skipping? Or, to put it another way, the description: "Tight-C is a minimal systems programming language that transpiles to C. 10 keywords, no garbage collector, no inference, no OOP — just explicit, predictable code with C-level power." Tells me a lot about what it's not but not much about what it is. Just to be clear, this isn't really criticism. I've had similar ideas, so I think the proposition is basically good. I just think that anyone who would use such a language would want to know its technical core. Also, another piece of unsolicited advice, you should think of a nontrivial use that no existing lan
Read the rest
guage can do and do it. For example, if you had a small example with a game loop that links to libtc, watches for changes to source code, and recompiles + fills in a table of function pointers for in-process hot reloading, that would be sweet and would make me seriously consider the language. Finally, you may be interested in my C standard library replacement (https://github.com/tspader/sp). Your language would benefit from being extremely portable, using sp.h as your base gives you that by default.
In Show HN: TC, A minimalistic systems language with 10 keywords (plus types)
C is really, really ripe for tooling and modern libraries. There are a lot of great ones already that don’t resemble what I’ll call university C in the slightest (i.e. the C most of us remember writing; awful, bug filled, segfaulting) I’ve been building out my C standard library replacement in earnest for a little while. If you like this framework, check it out. https://github.com/tspader/sp
In Show HN: I built a web framework in C

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.