← Back to context

Comment by rq1

1 day ago

I assumed new projects but I just realised that I didn’t write it.

But still disagree: we have cbindgen.

cbindgen is woefully inadequate. Have you tried to use cbindgen to make interop between complex c++ work with rust? You will end up writing a significant amount of shim code manually, on both sides. Newer efforts like crubit seem promising, but still have some challenging edge cases.