Comparing reflection capabilities of C++, Zig and C3
Thread
Loading the complete thread in the background. This saved snapshot is available now. Refresh
Unofficial Hacker News client; not affiliated with Y Combinator.
Comparing reflection capabilities of C++, Zig and C3
Loading the complete thread in the background. This saved snapshot is available now. Refresh
Unofficial Hacker News client; not affiliated with Y Combinator.
peesem · · focus · HN ↗
i can literally google "zig enum to string" and the first result is a reddit post where the given solution is `@tagName`. i'm ready to write this post off as a low-effort ad for C3
jb1991 · · focus · HN ↗
ManuLinares · · focus · HN ↗
[dead]
hiccuphippo · · focus · HN ↗
lerno · · focus · HN ↗
From what I can see the example started from C++, and then comparing how each language would look building it in userland instead.
WalterBright · · focus · HN ↗
RyanVail · · focus · HN ↗
lerno · · focus · HN ↗