PDA

View Full Version : D programming language



silk.odyssey
08-05-2004, 06:41 PM
I am looking at a comparison of c,c++,c#, java and digital mars' D programming language and the feature set looks interesting. Here's the link
http://www.digitalmars.com/d/comparison.html

golfinguy4
08-05-2004, 11:08 PM
D is a joke. Don't waste your time.

The Dog
08-06-2004, 02:44 AM
D is a joke. Don't waste your time.If you really believe that, then take a look a look at this page, then give your opinion.

http://www.asahi-net.or.jp/~cs8k-cyu/

I have D implementations of the games Parsec47, and Tumiki Fighters, both written by Kenta Cho. Try them, and then tell me what you think.

I think D is a cool language, although I don't think it be wise to learn programming using D. I think that if you have a C++/Java background, then D will be cool to have as an extra for game programming.

Just some extra info:

SDL has been converted to D, as well as libbulletML (the BulletML parser used in those games above). What's cool about D, is that C linkage is supported, so converting a program from C to D is quite easy.

I have used D, and I think it can be a pretty useful language.

skorman00
08-06-2004, 09:23 AM
Joke, no. Great, no. It takes care of a lot of array behaviors automatically, but I don't like that. Seems like a programming language that has the ease of a strong scripting language like LUA (some will argue that LUA is a programming language itself, but I still consider it a scripting language.

Some of the claims to features that other languages don't have are incorrect. To just name a few, you can actually inline assembly in Java. It's not the same as in any other language, because you have to mess with the VM, but it is possible. And under "Support All C types" it notes that C++ does not. I'm almost positive that's wrong. There are a few others that I'm skeptical about.

bludstayne
08-06-2004, 11:17 AM
I was looking at D a while back and tried their compiler. Their compiler is completely horrid. I really wish these people who constantly I am sillyI am sillyI am sillyI am sillyI am silly about C++ would think about what C++ is intended to do.

Sang-drax
08-06-2004, 11:48 AM
And under "Support All C types" it notes that C++ does not. I'm almost positive that's wrong. .It's correct. For example, C++ doesn't support VLAs
http://www.softintegration.com/demos/chstandard/c99.html#3


OK, this is my 1000th post! :cool: (This is the first time I've used this smiley)

golfinguy4
08-06-2004, 12:01 PM
Sorry Dog, still a joke.

I could make a mansion out of legos. But, why the hell would I want to?

Zach L.
08-06-2004, 12:18 PM
A lot of those features aren't much more than nifty little things that save a couple of lines of code... I haven't looked into the language very deeply, though.

Perspective
08-06-2004, 12:23 PM
that comparison is questionable. They also claim things like java doesnt use existing debuggers and doesnt have unit testing :rolleyes:

vNvNation
08-06-2004, 12:42 PM
on gametutorials.com bradbeveridge posted a small engine he wrote with the d programming language

Zach L.
08-06-2004, 12:42 PM
It's C++ with the std::vector and std::string classes built in. ;)

viaxd
08-06-2004, 01:09 PM
i think that taking things from other languages and putting it all together doesn't make D great, it will not make it better or faster or whatever. If people want to write C++ or java or C# they will use those not some mix of them. I don't think D is taken seriously, for now.

skorman00
08-06-2004, 06:53 PM
on gametutorials.com bradbeveridge posted a small engine he wrote with the d programming language
Although it's something to think about, it doesn't quite mean anything. You can write an engine in any language you want, look at Dark Basic.

sean
08-06-2004, 08:45 PM
I looked at D a few weeks ago and I certainly didn't take it very seriously. It offers some improvements, but when you consider how small their magnitude is in relation to all the trouble associated with learning a new language let alone implementing it, it does seem almost joke-like. It seems almost as though they just wanted to make their own language.

golfinguy4
08-06-2004, 10:00 PM
Jeez people, how is this argument still continuing? D is at least a couple years old and had done nothing in those years. If the language was going to become a hit, it would have already done so.

bhlewis
08-10-2004, 12:37 PM
http://www.research.att.com/~bs/bs_faq.html#invention

Stroustrup worked on C++ from 79 - 83 when the first version came out. Of which, it wasn't till 89(i think) till walter bright(the guy doing D) released the first c++ compiler that wasn't just a C translater. And even then c++ didn't become that widely used till the early/mid 90s. And really the only reason it was accepted that fast was because it was just a superset of C.

Technically the first verson of D isn't even out as its features aren't quite finalized yet. There are many people(including myself) who are still waiting for a final version before spending any real ammount of time with it.

golfinguy4
08-10-2004, 04:21 PM
Well, the same could be said of Java, C++, and even C because their standards are not locked either with improvements being added currently or in the future.

bhlewis
08-10-2004, 07:07 PM
Java makes a few changes every few years and has had a somewhat finalized spec for 8+ years. C and C++ so far make very small changes every 10 or so years. Huge difference when D hasn't nor ever advertised as being a final product yet, and is being updated about every 2 weeks now.

sean
08-10-2004, 07:49 PM
Well the languages you mention have all been in progress for years and they are reaching a sort of plateau. D is still at the foothills, but climbing rapidly. Whether it's much of a summit is yet to be seen, but I am changing my mind a bit. I thought D was stupid because there were no holes that needed to be filled by another language - but there was that guy in the 1800's who wanted to close the patent office because "everything had already been invented". What exactly is D's main goal and specialization?

golfinguy4
08-10-2004, 11:06 PM
D's been around for at least 1-2 years. If it's being significantly updated every two weeks, then it would either be a different language by now or someone is exagerating.

Terrance
08-15-2004, 09:01 AM
Just because D isn't popular, doesn't mean it's a worthless language.

C became popular because of its speed and power.
C++ became popular because it was almost as fast as C, but building large complex programs in OOP was easier and less time consuming.
Visual Basic became popular because it was easy to build windows applications.
Java became popular because of it's cross-platform capabilities, and it's combination of power and ease.
Pascal became popular because it was an easy teaching language (just because it was ever popular, doesn't mean it was a great programming language).
COBOL for building business applications.
Fortran for building engineering applications.
C# because it's by Microsoft.

I'm sure you get the point. D just hasn't become popular because no one has found any true benefits in using it, and if there's no real benefit of using it... no one is willing to take the time to learn it.

Wait until someone finds a purpose for it, then see if it ever becomes popular.

And how can anyone knock a programming language they've never really used?

So in other words, D may be a great programming language, but it has just been marketed very poorly (this coming from a business and CIS major ;))

Sea Monster
01-07-2005, 08:36 AM
i always find the sort of replies in threads like these highly amusing.

anyone who claims that another programming language is a "joke" isn't worthy of the title "programmer".

Salem
01-07-2005, 08:40 AM
Not half as amusing as people who go round bumping long-dead threads....

axon
01-07-2005, 08:57 AM
so why haven't you closed it yet salem? :D you're usually very fast about those things

Govtcheez
01-07-2005, 08:58 AM
:mad: