Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You raise a good point: is there something like http://pinvoke.net/ for non-windows interop? I know that mono is wrapping things themselves, but on open wiki might help.


Many open source libraries already have .Net bindings available, a quick search can discover them. They're also packaged into assemblies or made into higher level APIs, which sure beats copy-pasting from a webpage.

There's the [P/Invoke interop assistant](http://clrinterop.codeplex.com/) which can help you create a wrapper for C APIs, and the mono team have created [Cxxi](https://github.com/mono/cxxi), a binding generator for C++ APIs.




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

Search: