Skip to main content
Filter by
Sorted by
Tagged with
165 votes
13 answers
46k views

Is D a credible alternative to Java and C++? [closed]

Is the D language a credible alternative to Java and C++? What will it take to become a credible alternative? Should I bother learning it? Does it deserve evangelizing? The main reason I ask is that ...
Mark Kegel's user avatar
  • 4,500
140 votes
20 answers
48k views

D Programming Language in the real world? [closed]

Is anyone out there using D for real world applications? If so, what are you using it for? I can't seem to find anything big on the web written in D. Despite the lack of known big users, D seems like ...
wvdschel's user avatar
  • 11.8k
140 votes
8 answers
44k views

How fast is D compared to C++?

I like some features of D, but would be interested if they come with a runtime penalty? To compare, I implemented a simple program that computes scalar products of many short vectors both in C++ and ...
Lars's user avatar
  • 2,636
105 votes
3 answers
18k views

What are the differences between concepts and template constraints?

I want to know what are the semantic differences between the C++ full concepts proposal and template constraints (for instance, constraints as appeared in Dlang or the new concepts-lite proposal for C+...
Rayniery's user avatar
  • 1,587
75 votes
3 answers
19k views

Why 0.1 + 0.2 == 0.3 in D?

assert(0.1 + 0.2 != 0.3); // shall be true is my favorite check that a language uses native floating point arithmetic. C++ #include <cstdio> int main() { printf("%d\n", (0.1 + 0.2 != 0.3))...
Stas's user avatar
  • 11.7k
70 votes
10 answers
5k views

To GC or Not To GC

I've recently seen two really nice and educating languages talks: This first one by Herb Sutter, presents all the nice and cool features of C++0x, why C++'s future seems brighter than ever, and how M$...
Nordlöw's user avatar
  • 12.1k
65 votes
10 answers
13k views

Metaprogramming in C++ and in D

The template mechanism in C++ only accidentally became useful for template metaprogramming. On the other hand, D's was designed specifically to facilitate this. And apparently it's even easier to ...
Paul Manta's user avatar
  • 31.3k
64 votes
7 answers
7k views

Is D's grammar really context-free?

I've posted this on the D newsgroup some months ago, but for some reason, the answer never really convinced me, so I thought I'd ask it here. The grammar of D is apparently context-free. The grammar ...
user541686's user avatar
  • 209k
58 votes
3 answers
13k views

DMD vs. GDC vs. LDC

What are the Pros/Cons of the different D Compilers? How is the performance and the standard compliance/D2 support? How well are debuggers supported? How good are the Error messages and is the IDE ...
Fritz's user avatar
  • 750
53 votes
10 answers
23k views

The D Programming Language for Game Development [closed]

Recently I've been bothered because I reached a point in which C++ (even 0x) felt very limited, so I started looking for alternatives. Forget Java, C#, Python or Ruby. I still like the low-level ...
Gui Prá's user avatar
  • 5,627
52 votes
4 answers
59k views

Automatically executed functions when loading shared libraries

When loading shared libraries in Windows, LoadLibrary() call causes DllMain in library to execute for each new process and thread library attaches to, and for each process and thread library ...
toriningen's user avatar
  • 7,376
45 votes
6 answers
5k views

Does the D language have multiple standard libraries and issues with GC?

I'm wondering how mature and stable D is, and if it might be a good replacement for C/C++. I know that there are currently two standard libraries (Phobos and Tango). Is it still the case that there ...
soc's user avatar
  • 28.3k
41 votes
7 answers
10k views

D programming without the garbage collector

I've been looking at D today and on the surface it looks quite amazing. I like how it includes many higher level constructs directly in the language so silly hacks or terse methods don't have to be ...
AbstractDissonance's user avatar
40 votes
4 answers
4k views

Can a compiler automatically detect pure functions without the type information about purity?

So I'm arguing with my friend who claims that a compiler like GCC can detect a pure function automatically without any type information. I doubt that. Languages like D or Haskell have purity in their ...
Christian Zeller's user avatar
39 votes
6 answers
25k views

Why is thread local storage so slow?

I'm working on a custom mark-release style memory allocator for the D programming language that works by allocating from thread-local regions. It seems that the thread local storage bottleneck is ...
dsimcha's user avatar
  • 68.5k

15 30 50 per page
1
2 3 4 5
177