4 ms·
Has P/Invoke been cross-platform for a decade? Additionally, does it parse C headers to create native type wrappers automatically? Last I checked (a long time a
by royjacobs 5y ago
Has P/Invoke been cross-platform for a decade? Additionally, does it parse C headers to create native type wrappers automatically? Last I checked (a long time ago), P/Invoke required you to annotate manually written prototypes?
- sanxiyn 5y agoYes, P/Invoke has been working cross-platform for a decade with Mono. Have you heard of this thing called Gtk#? P/Invoke does not parse C headers, but neither does this proposal.
- royjacobs 5y agoAh right, Mono. I keep forgetting that was a thing. This proposal will pave the way for jextract, though. I would argue this series of JEPs is much closer in spirit to something like Rust's cxx than P/Invoke is.