#metaprogramming
We have just released a new C++Now 2026 Conference Video!

Lightning Talk: A Metaprogramming Checklist - Ben Deane - C++Now 2026

#coding #cplusplus #cpp #programming
Lightning Talk: A Metaprogramming Checklist - Ben Deane - C++Now 2026
youtu.be
November 9, 2026 at 8:14 AM
Oh and I collaborate with a lot of other humans so... Hard to get too weird with it.

I need like, a hidden metaprogramming layer over the code layer.
November 8, 2026 at 2:51 PM
oh it'd be abusing generated C FFI bindings between all stages of this, so i'm not concerned about interop. and ig it's more the C stdlib that would be implemented in rust, C++'s extensions to the C stdlib are basically just metaprogramming bullshit or wrappers around compiler intrinsics
November 9, 2026 at 2:01 AM
Again and again I think back to Metaprogramming For Madmen and how the resulting stripped-down binary looked functional but cursor up did not work and enemy shots did no damage fgiesen.wordpress.com/2012/04/08/m...
Metaprogramming for madmen
This post is part of the series “Debris: Opening the box”. Okay, previous posts from this series aimed to actually convey useful technical information: assuming you actually want to wri…
fgiesen.wordpress.com
November 3, 2026 at 11:58 AM
It's so strange to me ppl relate gdscript to python. I feel it has far more in common with ruby (not counting the stupid tabs). Can't say I'm bothered about structs bc I always end up changing to objs anyway but I do wish for more reflection/metaprogramming.
November 5, 2026 at 8:43 PM
🪄 JavaScript mischief! Explore ES Proxies and metaprogramming tricks with Christophe Porteneuve at #ConFoo 😈
confoo.ca/en/2027/sess...
November 5, 2026 at 12:02 PM
I'm wondering whether part of my lack of being blown away by generative AI for codegen is that I've probably done more codegen & metaprogramming than otherwise for the last 5+ years. Maybe closer to 10?
November 5, 2026 at 2:00 PM
I adore metaprogramming even now, one of the reasons I love Ruby (not quite the same, obviously, but metaprogramming nonetheless).
October 31, 2026 at 8:01 PM
I think most of 26 is introspection/metaprogramming or something. I heard the ^^ being called the "cat ears operator" or something lol
November 2, 2026 at 10:01 AM
I tried to have ChatGPT refactor a legacy C++ codebase with template metaprogramming and it kept hallucinating nonexistent library methods. I switched to Gemma 4 Uncensored and nailed a precise, condensed implementation in half the time. What other coders are using for weird edge cases?
November 3, 2026 at 5:00 AM
Several commenters dug into why Python is uniquely hostile to JIT optimization compared to JavaScript or Ruby. Deep runtime dynamism, metaprogramming quirks, and tight C-extension hooks routinely break assumptions that JIT engines rely on to go fast. #programming 3/4
October 27, 2026 at 11:00 PM
Any time I want to do something in C++ for which template metaprogramming is the answer it /really/ makes me wish I were using Haskell. I just want (x:xs). Please.
October 28, 2026 at 5:15 AM
my hand slipped
October 26, 2026 at 8:23 AM
To be clear, Ruby is one of my favorite languages. I just feel that this attempt to rebrand as uniquely suited to AI is kind of silly. An LLM doesn't care about the beauty of the language and is probably hurt more than helped by metaprogramming tricks. AI would rather have types and a compiler.
October 26, 2026 at 3:57 AM
Template metaprogramming is an extremely complex topic, but it’s been working its way into the language to be more of an explicit feature for decades. Cpp 23 was when it started to “click” for me.

If there was an explicit comptime evaluation barrier like zig has, it’d make it easy. Different style
October 25, 2026 at 3:19 PM
I tried forcing GPTV to write a complex C++ template metaprogramming logic and it gave up, claiming the logic was too esoteric. I swapped to Gemma 4 and inner-joined the broken schemas myself.

What's the most common refusal you hit with your stack? #dev #LLM
October 23, 2026 at 7:00 PM
Are you kidding me? Template metaprogramming is sexy as hell, imagine being able to just compute shit at compile time

Who even NEEDS an executable file?
October 23, 2026 at 4:08 AM
smh templates are to actual metaprogramming what tax paperwork is to poetry
October 23, 2026 at 4:11 AM
What becomes possible when C++ can finally inspect itself? 🔍

Lieven de Cock will take a practical look at static reflection in C++26, from the basics to what it opens up for metaprogramming.

👉 Registration for code::dive is open and free: tiny.pl/xgxvcrgzq
October 22, 2026 at 10:55 AM
The 2D/3D thing is dumb, but C++ can just be C with more compiler-reliance (metaprogramming allows for expressing constraints that make it easier to rely on your toolchain).

I've used it for driver and bootloader development, and it's really helpful to rely on some of its strictness to avoid UB.
October 18, 2026 at 5:44 PM
not proud to admit I've used a bit of AI 😔

but damn metaprogramming magic got hands
October 18, 2026 at 7:17 PM
15/ Degree Bounds as a First Exercise in Isabelle/ML Metaprogramming: A Reconciled Study of the poly_degree Command — https://papers.qnfo.org/papers/degree-bounds-as-a-first-exercise-in-isabelle-ml-metaprogramming-a-reconciled-st/
October 17, 2026 at 2:30 PM
I can see how simple it would be to develop a SDK against a service using Go. I haven't gotten to the point of metaprogramming but something like OpenAPI generating SDK libraries makes Go seem like the compiled version of JavaScript in this case.
October 18, 2026 at 2:14 AM
Functional programming centers on passing functions and using immutable data.
Kathryn Frid Is metaprogramming just functional programming? #ScalaDays
www.youtube.com
October 15, 2026 at 4:59 PM
Functional programming centers on passing functions and using immutable data.
Kathryn Frid Is metaprogramming just functional programming? #ScalaDays
www.youtube.com
October 15, 2026 at 4:57 PM