What\'s the best way to avoid using GC in D?Is there a way to use classes that doesn\'t involve their memory being managed, or do you have to use pointers t开发者_如何学Pythono malloc\'d structs like
I am reading the book from Andrei Alexandrescu about the D programming language. He\'s an excellent writer and does a pretty good job at explaining aspects of the D language. I however find certain co
interface I1 { ... } interface I2 { ... } struct List(T) { ... } How do I specialize my List to operate only on classes that implement both I1 and I2? One interface is easy:
So I\'m reading this interview with Walter Bright about the D language in Bitwise (http://www.bitwisemag.com/copy/programming/d/interview/d_programming_language.html), and I come across this really in
I\'ve just begun looking at the phobos source, and it\'s littered with several different styles and commented o开发者_如何学Cut code.
I really like the message passing primitives that D implements. I have only seen examples of m开发者_C百科essage passing within a program though. Is there support for distributing the messages over e.
I have a D program with Tango and I\'m trying to uncompress a gzipped string. Unfortunately I don\'t have A stream to it, but the compressed data is stored in a char[]. How can I uncompress it using t
According to D docs (http://www.digitalmars.com/d/2.0/attribute.html#ProtectionAttribute) protected module members are illegal, but compiler allow me to do this.
For those of you who are not familiar with D string mixins, they\'re basically compile-time evals.You can take any compile time string (whether a literal or generated by template metaprogramming or co
I\'m a fairly experienced programmer, but new to GUI programming.I\'m trying to port a plotting library I wrote for DFL to gtkD, and I can\'t get drawings to show up.The following code produces a blan