Re:Implementing a Struct of Arrays
by zahlman on Friday May 09, 2025 @04:20PM
(#43940537)
I get the impression that ("pure") C programmers say things like that because they don't get themselves into situations where they feel they'd want the metaprogramming.
[ Parent
| on HN ]
They might think that they don't need metaprograming, but like everyone else, they eventually do.
That's how we get monstrosities like https://github.com/freebsd/freebsd-src/blob/master/sys/sys/q... (plenty of Linux equivalents --- e.g. the tracepoint stuff)
Better to use a language with thoughtful metaprogramming than tack it on badly later.