assuming you are writing a program in C - would the ImportC feature enable you to write headers in C (like in your existing codebase) and then import them for implementation in D? This would very neatly allow using D in C projects without duplicating the struct types, typedef, etc. in both C and D files.