Comment

Comment by stephc_int13

I am afraid of the compile-time cost.

For this kind of things I tend to prefer using a simpler program (written in anything you like) to generate C or C++ instead of having the compile do the same thing much slowly.

Meta programming can be good, but it is even better done with an actual meta program, IMO.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton