On Tuesday, 23 December 2014 at 07:18:01 UTC, Dicebot wrote:
Project itself is very cool but I am in doubts about possibility of merging this upstream. Doing so would make full D implementation effectively impossible without some C++ compiler already available as a library on same platform - quite a restriction!
Why C++? Any language can be plugged in. On Tuesday, 23 December 2014 at 11:53:38 UTC, Dicebot wrote:
Consider both things like embedded/MIPS and Windows64 - LLVM tooling is not as strong on those right now
Win64 is nearing completion. LDC can compile and run code for quite some time already.
provide such easy way to reuse C++ frontend and with DMD/MSVC it is simply beyond feasibility.
AFAIK, clang features MSVC compatibility.
By upstream I don't mean LDC upstream but D upstream - we don't want it to become part of full language spec if implementation is so reliable on specific toolchain.
Another reason is to ease integration with C++. Language plugin is an obvious solution.