This feature is already available using C++:
https://zorro-project.com/manual/en/dlls.htm