Content deleted Content added
→Difference between D and Objective-C: new section |
|||
Line 357:
Even C++ is only mentioned a couple of times in the article. I think it would help a lot to add a comparison section to Objective-C or C++, and perhaps talk about the fundamental design decisions that distinguish all of these languages, for someone who is not so familiar with the specifics. [[Special:Contributions/64.105.136.146|64.105.136.146]] ([[User talk:64.105.136.146|talk]]) 07:53, 29 March 2009 (UTC)
:No, unlike Objective C, D is incompatible with C; it's a completely different language. The only way to use C code in D is to compile the C code separately and write a D module that ''declares'' the functions defined in the C code (like a header file). The intro states that some features in D are completely redesigned, but maybe it should be made clearer that D code is incompatible with C code, and perhaps an example could be added to show the D-C "compatibility" that I mentioned.[[user:Jeff02|-Jeff]] <sup>[[user talk:Jeff02|(talk)]]</sup> 00:28, 30 March 2009 (UTC)
|