On Wed, 10 Sep 2014 12:20:04 -0700 "H. S. Teoh via Digitalmars-d" <digitalmars-d@puremagic.com> wrote:
write D -> C++ translator and add translated versions to repo too. no, really! this C++ code need not to be maintenable, so we can use C++ subset as "assembler language". i.e. use D frontend to make all analysis, instantiate templates and so on, then just emit ugly, unreadable, but working subset of C++. why C++? to support exceptions, which can be hard to do properly with C. i'm really serious here. and besides solving bootstraping problems we will have a nice codegen for new platforms: if platform has C++ compiler, we can run D code on in. sure, there will be problems with GC (let's forget about it for the first iteration, DMD doesn't do much free()s too) and other things, but will solve all transition problems.
signature.asc
Description: PGP signature