Hacker News new | ask | show | jobs
by crudbug 3955 days ago
I followed D for sometime, it has taken all the good parts from other languages in an incremental manner - contracts / actors/ functional concepts.

Do you vision D becoming a transpiler platform, similar to JavaScript land where languages target D source ?

x-lang => D => ldc => binary

1 comments

Probably not; D is not a particularly suited language for being a backend target. To be fair, neither is Javascript; it got in that position by accident.

That said, just as a related aside, there's the Daniel Murphy's magicport program that translates real projects from C++ do D semiautomatically (Daniel used it to translate the D compiler itself; we recently committed to bootstrapping).

Could you please elaborate on why D is not a good backend language? Knowing the little I know about it, I assumed that would be a good start for it.