top | item 46867667

(no title)

Cloudef | 26 days ago

The only thing C compilers do for printf, is static analyze the format string for API usage errors. Afaik such isn't possible in zig currently. But idk why'd you downgrade yourself to using the printf interface, when std.Io.Writer has a `print` interface where fmt is comptime and args can be reflected so it catches errors without special compiler shenigans.

discuss

order

dnautics|26 days ago

I'm thinking: do a translate-c and then statically catch errors using my zig-clr tool.