True. I will investigate writing a D wrapper for the C API. > Using C plain api it's not a good way to use D power IMHO :) > Encapsulate code with classes/template/etc would be a good idea.