Hacker News new | ask | show | jobs
by flohofwoe 346 days ago
Yes, the C++ code compiles just fine, but to call into C++ APIs from Zig you'll need a C API wrapper (and the same is true for ObjC APIs). Not an issue of course for pure C++ projects when the Zig toolchain is just used for cross-compiling.
1 comments

Oooh yeah that makes sense.