porting c++ code to dpl

Simon s.d.hammett at gmail.com
Sat Aug 6 10:31:43 PDT 2011


On 06/08/2011 17:59, Mirko Pilger wrote:
> hello everybody,
>
> i'm new to this language and plan to start learning it by porting parts
> of an existing c++ library to dpl.
>
> i would very much appreciate it if you have some tips & tricks, hints of
> pitfalls or any other experiences to share.
>
> mirko

Well I've ported quite a bit of C++ code to D.
And on the whole I'd say that there isn't really much to say.

Most of the issues I've hit have been bugs in dmd or optlink;
which clearly have nothing to do with the language itself.

Unless you need pointer to members/pointer to member functions, just 
about every bit of c++ is easier and more straight forward in D.

Just plough ahead and ask questions if you hit an issue.

-- 
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk


More information about the Digitalmars-d-learn mailing list