4 ms·
Then you and I disagree about the definition of function colors. But Zig's language reference is clear: when needed, blue functions are turned into red functio
by ghoward 5y ago
Then you and I disagree about the definition of function colors.
But Zig's language reference is clear: when needed, blue functions are turned into red functions transparently at compile time. What that does is make it seem as though there are no colors. That's why the dichotomy can be exposed at runtime: the compiler can't intervene and turn blue functions into red functions.
No matter how much you say that changes the definition, it still means that blue functions cannot call red functions. The fact that functions are turned into red functions does not magically make the colors disappear; it just hides their existence until it cannot be hidden anymore.