Re:Zap – Blazingly fast backends in Zig
by Oreb on Wednesday June 14, 2023 @07:23PM
(#36334279)
Can Zig also be used to compile static libraries for iOS and Android?
[ Parent
| on HN ]
There's no good reason why not. Zig is, after all, a full C compiler so it can certainly create C libraries.
You can create a full Zig program to run on Android: https://archive.fosdem.org/2021/schedule/event/zig_android/
iOS: https://www.jakubkonka.com/2022/04/30/ios-dx-with-zig-milan-...