June 07, 2011 Re: Is it reasonable to learn D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Fabian | > - The D compiler has only bad code optimization Yep, but there is LDC and GDC which use LLVM and GCC as backends respectively. > - There are no maintained GUI libraries I wouldn't agree with that. Some people are still working on GtkD, QtD and DWT. > - The development of the compiler is very slow More and more people are contributing patches so development has definitely become faster. Also Don has more or less taken over development of the CTFE functionality. Nice trend. > - Only a small community > => no real German community There is no separate German community but there are plenty of Germans here. Manchmal sieht man sie nur nicht sofort ^^ > So I ask you - Is it reasonable to learn D? Yeah, learning D is definitely worth it, if only to know why C++ and especially C++0x sucks ass ;) The language and its potential is just great. In my experience you shouldn't use D for a particular project though if you - have pressing deadlines, cause compiler bugs might become very painful. - depend on C++ libraries or have to code a module for a big C++ framework. I tried using SFML but wasted a lot of time writing the wrapper code instead of actual application code. Apart from that it's perfectly possible to accomplish non-trivial projects with D, be it against all odds like http://h3.gd/code/nucleus/ |
June 08, 2011 Re: Is it reasonable to learn D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | Oh - yeah. Thank you - English can be so easy :D |
June 08, 2011 Re: Is it reasonable to learn D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | 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 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, ...). 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. Greetings Fabian PS: I believe that's no big problem that there's no German community because my English is understandable - I think. But it's more comfortable to communicate in German. |
June 08, 2011 Re: Is it reasonable to learn D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Fabian | On Wed, 08 Jun 2011 07:11:03 -0400, Fabian <contact-fab@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 |
June 08, 2011 Re: Is it reasonable to learn D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | Hi I'm using D on Windows so I'm not able to use LDC. But I believe DMD should be a good alternative too. If the garbage collection makes trouble I can disable it - or? http://stackoverflow.com/questions/472133/turning-off-the-d-garbage-collector By the way: I've read that Digital Mars C++ compiler has got a bad code optimization. Is that true? In comparison with the Microsoft Visual Studio compiler. Greetings Fabian |
June 08, 2011 Re: Is it reasonable to learn D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Fabian | Fabian wrote:
> By the way: I've read that Digital Mars C++ compiler has got a bad code optimization. Is that true?
In general, no. There's some benchmarks where it loses, but there's also some that win.
Overall, it isn't as good at optimizing as gcc and visual studio, but it still isn't bad.
(The two places where it does the worst from what I've seen is floating point, which is bad, and inlining, which is ok but not great. Everything else it does pretty well.)
|
June 08, 2011 Re: Is it reasonable to learn D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | Okay - Thank you. Greetings Fab |
June 08, 2011 Re: Is it reasonable to learn D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | Is D1.x still supported and under development? |
June 08, 2011 Re: Is it reasonable to learn D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Fabian | > Is D1.x still supported and under development? Yes, though it almost never gets new features anymore, just bug fixes about once a month. See the changelog here: http://www.digitalmars.com/d/1.0/changelog.html |
June 08, 2011 Re: Is it reasonable to learn D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | Trass3r Wrote:
> http://h3.gd/code/nucleus/
I lol'd at the suggestion to upgrade my FF4 to a modern HTML5-compliant browser.
|
Copyright © 1999-2021 by the D Language Foundation