Re:How I Built Zig-SQLite
by throwawaymaths on Friday May 27, 2022 @12:14PM
(#31531303)
I think the poster meant "no macros" (and especially no c-style lexical macros)
Re:How I Built Zig-SQLite
by formerly_proven on Friday May 27, 2022 @01:40PM
(#31532427)
No metaprogramming as in no separate metalanguage (e.g. templates, macro_rules!)
Re:How I Built Zig-SQLite
by avgcorrection on Friday May 27, 2022 @08:42PM
(#31536542)
Homogeneous metaprogramming is a thing...
This one is an odd point; this very article is a demonstration of metaprogramming*:
> Thanks to Zig’s type reflection we can read a row of data into a user-provided type without needing to write any “mapping” function: we know the type we want to read (here the User struct) and can analyse it at compile-time.
* Which is a feature I favor, for the record.