Hacker News new | past | comments | ask | show | jobs | submit login

I can even imagine a tool that picks a zig interface and transforms it into a C interface to export it from your closed-source library, and a shim that exposes the nice zig interface that talks to the uglified C interface.

That would be helpful not just for intetfacing closed zig code, but also for dynamic libraries in zig.

I'm only afraid that in many cases that would require doing the monomorphisation step...




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: