tannergooding
LibraryImport examples, especially on Linux
It’s not necessarily the easiest tool to use, as it is essentially a wrapper over clang and therefore requires many options to be passed in, much as actual clang does
But it’s used by a large number of projects, including at Microsoft, to maintain bindings for various languages
85 replies
LibraryImport examples, especially on Linux
Writing 1-1 bindings against native can be beneficial though. While it requires the caller to be more verbose, it can help improve performance and the overall readability/maintainability of the code, as you can more precisely see what’s actually happening
That’s not required in many scenarios though, which is why the safe wrappers the generator creates can often be good as well
85 replies