The DMD reference compiler does not generate MIPS code, so you will need to use GDC and LDC2 , which support the generation code for any architectures supported by their backend ( GCC and LLVM , respectively).
However, this is not as simple as generating code. In order for all the functionality of D to be functional, you will need to port druntime and phobos to MIPS, since druntime is quite architecture specific. Without this, you will be stuck without the GC and all the features that entail.
So itβs possible, but how much it definitely depends on how devoted you are.
source share