9 ms·
Cause its dead simple. Shell out, run a quick sed or something, then compile it in. It is quite amazing what 'magic meta' stuff you can do with that shit. Meanw
by psyclobe 4mo ago
Cause its dead simple. Shell out, run a quick sed or something, then compile it in. It is quite amazing what 'magic meta' stuff you can do with that shit. Meanwhile 10 years in we are finally getting reflection.....
- SleepyMyroslav 4mo agoC++ is often cross compiled from mostly identical sources. Here is an example from Zig [1] that explains why it is not that simple. 1. https://matklad.github.io/2025/04/19/things-zig-comptime-wont-do.html#No-Host-Leakage https://matklad.github.io/2025/04/19/things-zig-comptime-won...