News for hackers. Stuff that matters.
Re:How I Built Zig-SQLite by throwawaymaths on Friday May 27, 2022 @12:38PM (#31531571)
Generally I wouldn't call zig comptime function coloring. (I have written a prime sieve algorithm that uses the runtime code to precalculate some primes at comptime. Yes, I had to be very careful about what was in the prime number algorithm, but comptime supports that level of complexity and it was certainly possible to call runtime-intended code at comptime.

Can you call comptime-intended code at runtime? No? (Yes? B/c the call site is "in" the runtime code?) But just make it runtime code instead of comptime code?

There are no comments on this comment yet.