News for hackers. Stuff that matters.
Re:Using D to Create the World’s Fastest File System by arunc on Wednesday December 05, 2018 @05:52AM (#18607195)
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

Re:Using D to Create the World’s Fastest File System by WalterBright on Wednesday December 05, 2018 @06:14AM (#18607298)
Up until quite recently, while the front end of D was written in D, the back end was in C++ (more precisely, C with classes, as it is fairly auld skool).

It's now finally pretty much all in D, and I've been piece by piece refactoring it into more idiomatic D.