r/programming • u/Nuoji • Sep 22 '26
C3 0.8.4: Parameter Reflection, Stack Protection, iOS Support—and One Last Renaming
https://c3-lang.org/blog/c3_0_8_4_last_renaming/
106
Upvotes
r/programming • u/Nuoji • Sep 22 '26
View all comments
Show parent comment
15
u/Nuoji Sep 22 '26
It cannot import header files, but it's straightforward:
extern fn int printf(char*, ...)=> now you can call C printf. C3 structs and unions have the same layout as C structs and unions.Exported C3 functions are callable from C with basically the same declaration. BUT C header generation is still on the todo.
Bidirectional binary interop with C is prioritized goal.