any tool to at least partially convert C++ to D (htod for source

Jacob Carlborg doob at me.com
Wed Mar 10 13:51:55 PST 2010


On 3/10/10 20:28, Justin Johansson wrote:
> Jacob Carlborg Wrote:
>
>> On 3/9/10 22:35, Justin Johansson wrote:
>>> Walter Bright Wrote:
>>>
>>>> Justin Johansson wrote:
>>>>> Having spent six months developing a significant app in D only to find impediments to
>>>>> practical completion of the project and ultimate deployment,
>>>>
>>>> Which ones did you find to be blocking?
>>>
>>> (My time zone is way different to yours and gotta dash to work soon so will have to be brief).
>>>
>>> (Comments in relation to D1)
>>>
>>> #4 The performance of the IDE that I was using (Descent under Eclipse) did not scale
>>> very well with large source files.  Tried a few other development tools but found Descent
>>> to be overall the best but, like I say, not adequate at scaling in a large project.
>>> Sure this is not a D language problem per se but a practical issue that is still likely to
>>> put some users off.
>>
>> I also have this problem with some of my D files. But on the other hand
>> I've never seen a tool/IDE for C++ that can do to what descent does.
>> I.e. showing both syntax and semantic errors as you type.
>
> Oh, I have a lot of respect for Descent and certainly do not wish my comments
> to discourage the developer(s) in any way whatsoever.  I'm sure as Descent
> matures over time it could well become the #1 development environment
> for D (if it is not so already).
>
> For C++ though, nowadays I'm using the CDT (C/C++ Development Tooling) package with
> Eclipse  on Linux and am finding it, as of 2010, streets ahead of where it was a few years
> ago.  From my memory of MS Visual Studio on Windows, I'd say Eclipse/CDT is rapidly
> closing the gap (with the exception of integrated facilities for editing graphical resources
> such as icons but so what).

Last time I used Eclipse with C++, a couple of months ago, it couldn't 
do much more than syntax highlighting, some basic syntax analyze and 
some basic autocompletion. Semantic analyze was nowhere to be seen. 
Quite often it said I had syntax errors even though there were no syntax 
errors. Also I mostly used smart pointers and of course autocompletion 
don't work with them.

> http://www.eclipse.org/cdt/
>
> If C/C++ people haven't tried CDT, it's well worth a look.  Also (just guessing) there might
> be a few ideas there for Descent to pick up on.
>
> Cheers
> Justin Johansson
>




More information about the Digitalmars-d mailing list