|
|
|
|
|
by arunc
2757 days ago
|
|
I've written wrappers for C++ libraries to work with D and it's _very_ easy. To work with C++ classes in D, I created factory methods that created/destroyed them with C ABI and used/disposed them respectively. Working with C is even more easier. There is no FFI, etc. Just use Dstep[1] and get going. Or use dpp[2]. [1] https://github.com/jacob-carlborg/dstep [2] https://github.com/atilaneves/dpp |
|
It's now finally pretty much all in D, and I've been piece by piece refactoring it into more idiomatic D.