williamcotton/express-c
View on GitHub ↗ ★ 19 C
Fast, unopinionated, minimalist web framework for C
9 mentions on Hacker News by 1 person: 0 stories, 9 comments · first 2022-10-31 · latest 2023-12-01
20082026
-
I've used Turbo with a web app written in C: https://github.com/williamcotton/express-c/blob/master/demo/... https://github.com/williamcotton/express-c/blob/master/demo/... :)
comment by williamcotton · 2023-12-01 · in Using Turbo Frames and Streams Without Rails -
…/github.com/williamcotton/c_playground/blob/master/sr... Here’s a simple multithreaded database pool: https://github.com/williamcotton/express-c/blob/master/src/d...
comment by williamcotton · 2023-06-14 · in Is parallel programming hard, and, if so, what can you do about it? -
Apache does this! And I do this in my own C web framework: https://github.com/williamcotton/express-c/blob/master/deps/...
comment by williamcotton · 2023-05-22 · in Memory Allocation -
…Here’s the GitHub actions for those platforms and a link to the Makefile: GitHub Action: https://github.com/williamcotton/express-c/blob/master/.gith... Makefile: https://github.com/williamcotton/express-c/blob/f2e1dde2f5a7...
comment by williamcotton · 2023-04-30 · in My favorite C compiler flags during development -
…more about those performance issues and some example code that show how slow the approach is: https://github.com/williamcotton/express-c/tree/master/resea...
comment by williamcotton · 2023-04-23 · in Two types of C programmers -
…in quite some time! Here’s a web framework (complete with ORM) modeled on ExpressJS written in C: https://github.com/williamcotton/express-c The finished product is < 90Mb Docker image that idles at like 2Mb of memory. There’s also a lot…
comment by williamcotton · 2023-04-23 · in Two types of C programmers -
…This not only gets rid of most of this “dark matter” but results in much smaller containers! https://github.com/williamcotton/express-c/blob/master/demo/...
comment by williamcotton · 2022-11-13 · in Software dark matter is the enemy of software transparency -
…in size, and CPUs efficiently converting request paths into SQLite opcode and JSON responses. [0] https://github.com/williamcotton/express-c
comment by williamcotton · 2022-11-13 · in Ask HN: What are your “scratch own itch” projects? -
…counting wrapped around malloc/free. Here's an example where in a commit I swapped in an arena: https://github.com/williamcotton/express-c/commit/4ae53f38e3...
comment by williamcotton · 2022-10-31 · in Untangling Lifetimes: The Arena Allocator