HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
scallyw4g
poof
C2023–2026
scallyw4g / poof

poof

A compile-time metaprogramming environment for C & sane C++ programs, focused on pragmatism

2Distinct people
12Mentions
0Explicit recommenders
60GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A compile-time metaprogramming environment for C & sane C++ programs, focused on pragmatism

GitHub

Where it is used

No documented product use was verified in the last source check.

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 9–Nov 16 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/16/2026, 3:44:08 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 year12 dated mentions

Observed mentions: 2023-04-17 01:51:45 UTC to 2026-11-01 18:54:19 UTC.

024682023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20232024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20242025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 8 mentions; 0 submissions, 8 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

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
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC808
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC303

What Hacker News says

3 sources
I've been working on a voxel game engine called Bonsai for ~10 years. Probably the most interesting thing about it at the moment is the editor. The world, and most things in it, are represented as collections of SDFs. More accurately, they're density fields, but, potato-tomato. The world generator and editor operate almost entirely on the GPU. I've been writing a graph compiler similar in spirit to compilers that execute LLMs, with some key differences. The SDF 'program' gets jitted into a kind of bytecode and fed through an interpreter in the world gen shader. This way, the world gen and edits can be applied deterministically using one big fused program, and transferred back to CPU land using the async PCIe hardware. I get something on the order of ~99% ALU residency, 95% L2 hit rate and 20-40% vram bandwidth usage. Compared to doin
Read the rest
g world gen on the CPU, it's so fast it feels like magic. It's taken me the better part of two years to get this working well. One neat thing about representing the world as SDFs is they've been thoroughly researched and documented by a guy named Inigo Quilez, and they have a lot of nice mathematical properties. For example, you can do a smooth union of arbitrary SDFs to get nice rounded contours where shapes join. I'll do some shameless self-promotion and leave some links here for anyone interested in looking at the engine, language code, or some pretty pictures. https://github.com/scallyw4g/bonsai https://github.com/scallyw4g/poof
In Ask HN: What are you working on? (November 2026)
I've been working on a voxel game engine called Bonsai for ~10 years. Probably the most interesting thing about it at the moment is the editor. The world, and most things in it, are represented as collections of SDFs. More accurately, they're density fields, but, potato-tomato. Bonsai has undergone a large rewrite over the last couple years that's nearing completion. A world edit is defined as a bunch of SDF parameters which get projected/rasterized into the voxel grid by a shader on the GPU. One neat thing about SDFs is they've been thoroughly researched and documented by a guy named Inigo Quilez, and they have a lot of nice mathematical properties. For example, you can do a smooth union of arbitrary SDFs to get nice rounded contours where shapes join. I've written every system from scratch, all the way from the memory allocators an
Read the rest
d font rasterizer to the collision detector and simulation loop. I even wrote a metaprogramming language as a replacement for C++ templates, which is a whole other story. IIRC the only external dependency is the C runtime library for starting the process and my very occasional use of variadic functions arguments. For a long time, an explicit non-goal of the project was to ship a game. It sounded insane to me to write an entire 3D engine and then ship a game. As it turns out, I've gotten it to the point where I can actually make a game. I've got a start on the game systems in a closed-source repo, and hope to have a steam page for it by the end of the year. I'll do some shameless self-promotion and leave some links here for anyone interested in looking at the engine, language code, or some pretty pictures. https://github.com/scallyw4g/bonsai https://github.com/scallyw4g/poof
In Ask HN: What are you working on? (September 2026)

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.