Linked by Amjith Ramanujam on Tue 22nd Jul 2008 01:54 UTC
General Development Walter Bright talks about D and his desire to improve on systems programming languages. Many successful concepts from other languages like JavaScript, PERL, Ruby, Lisp, Ada, Erlang, Python, etc., have had a significant influence on D, he says. He adds: "D 1.0 was pretty straightforward stuff, being features that were adapted from well-trod experience in other languages. D 2.0 has ventured into unexplored territory that doesn't have a track record in other languages. Since these capabilities are unproven, they generate some healthy skepticism. Only time will tell."
Thread beginning with comment 324045
To read all comments associated with this story, please click here.
D-lite?
by Tom5 on Tue 22nd Jul 2008 11:12 UTC
Tom5
Member since:
2005-09-17

I've been watching D for a few years now, as a replacement for the ageing C is much needed.
But D's move towards ever more features and complexity means that the original niche of a simple C replacement is no longer filled. And D-lite seems like a good name for a language ;-)

As an example, consider this D code:

foo(bar())

Question: if this line of code is executed, will the function bar() be called?

Answer: it depends on the definition of foo! (see http://www.digitalmars.com/d/2.0/lazy-evaluation.html).

But if someone took just the most useful bits of D (exceptions, no pre-processor, classes, bounds checking) and made a language out of that, I'm such it would convince a lot of C programmers to switch.

Reply Score: 1

RE: D-lite?
by renox on Tue 22nd Jul 2008 11:46 in reply to "D-lite?"
renox Member since:
2005-07-06

Agreed, that's why I advocated in D's newsgroup that lazily evaluated code should be enclosed in {}
foo({bar()})
Except possibly for side-effect free expressions where it doesn't matter.

Anyway D isn't a replacement for C: it's a replacement for C++.

Reply Parent Score: 3

RE: D-lite?
by EliGottlieb on Thu 24th Jul 2008 06:08 in reply to "D-lite?"
EliGottlieb Member since:
2005-10-30

That language exists, it's called Object Pascal, and C programmers won't touch it because the surface syntax makes them go EWWWW!

Reply Parent Score: 1