Is it reasonable to learn D
Steven Schveighoffer
schveiguy at yahoo.com
Wed Jun 8 05:53:58 PDT 2011
On Wed, 08 Jun 2011 07:11:03 -0400, Fabian <contact-fab at freenet.de> wrote:
> Calling all: Thank you.
>
> I want to use Tango because a friend has lent me a book about learning D
> and using the Tango Software Library. So I'm forced to use D 1.x, aren't
> I?
At the moment, yes. I believe there are ports to D2 in the works.
> At the moment I just want to learn D - I'm not going to code any big
> project with D next time so I think DMD is OK at the beginning. But I'm
> no coding newbie - I've already experiences with Delphi and I'm able to
> find a solution (also object orientated) for more or less complicated
> problems. (Network, Graphics, Threading, ...).
This is a good way to start. But if you are planning on using Tango, why
not use LDC (assuming you are on Linux)? LDC is built *expecting* Tango
to be the runtime library, whereas DMD expects phobos to be the runtime
(Tango is designed to work with both).
Just remember if you need help, you can ask any questions here! D's
community is usually very eager to help out newbies.
> But if I want to start a bigger project like a small game (Jump 'n' Run,
> ...) I would be very glad to know that my compiler has got a good code
> optimization.
Code optimization is likely not going to be an issue, DMD and LDC both are
based on C++ compilers, so they have a lot of the same optimizations. I'd
worry more about the GC for performance.
-Steve
More information about the Digitalmars-d-learn
mailing list