I'm curious if it'd be possible to write erlang NIFs in D? From reading Interfacing to C, it seems like I'd need to generate a D interface file for the [not insignificant] erl_nif header, and then I'd be able to create a -shared file from D code and load it like any other shared object in Erlang?