A gentle critque..
Chad J
gamerChad at _spamIsBad_gmail.com
Mon May 15 00:55:25 PDT 2006
Walter Bright wrote:
> D can link against C code right now, it just will not compile C code.
Sorry I didn't mean link. Oh and I said C plus plus a lot, but I think
the ng cut out the plus plus. Basically I just want to be able to
import .h files and have it just work.
If it is actually easier to convert all of the C plus plus headers to D
"headers" by hand than by creating some automated mechanism in the
compiler, then OK, no full automated conversion. I find that hard to
believe though.
I am thinking game creation middleware for myself. This would involve
hand translating a whole bunch of stuff, just to try it out. I may not
even use the results for very long. I suppose I could code in C plus
plus to try stuff out, but then I'm doing C plus plus coding and not D
coding, and that's just about as bad as the header conversion (for me
anyways). Then if the maintainers of a C plus plus library change the
library, the D wrappers become outdated and need fixing.
I have even more trouble believing that current D compilers shouldn't
support C plus plus integration just because it might make C plus plus
compilation a required capability of a D compiler.
More information about the Digitalmars-d
mailing list