d
Extension Functions in D
I bought \"The D Programming Language\" a little while ago. Great book, very educational. However I\'m having trouble trying to compile a language feature listed in the book: Extension Functions.[详细]
2023-04-13 07:54 分类:问答D programming on Fedora 16
I\'ve recently installed Fedora 16 (which is great), mostly because I wanted to try LDC2 but also because Gnome Shell runs much smoother on Fed开发者_运维知识库ora than Ubuntu 11.10 (at least on my ha[详细]
2023-04-12 11:39 分类:问答Strange behavior with 'setMaxMailboxSize'
I\'ve written a simple, though highly multi-threaded, prime numbers generator. The algorithm goes like this:[详细]
2023-04-12 06:17 分类:问答Is there a way to have dynamic default arguments?
I\'m trying to make a class where the user can modify member variables to change the default arguments of its member functions.[详细]
2023-04-12 04:05 分类:问答What's NOT in an interface file?
I was under the impression that \"A D interface file contains only what an import of the module needs, rather than the whole implementation of that module.\"To me, that translates to signatures - just[详细]
2023-04-11 21:50 分类:问答How do I create Windows in D with win32?
Hello I\'m trying to open a window with win32 in D, and I\'ve got a little problem. The program crashes when I call CreateWindowA.[详细]
2023-04-10 00:01 分类:问答nginx, fastcgi and open sockets
I\'m experimenting using fastcgi on nginx, but I\'ve run into some problems. Nginx doesn\'t reuse connections, it gives 0 in BeginRequest flags, so the application should close the connection after th[详细]
2023-04-09 11:56 分类:问答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[详细]
2023-04-09 08:42 分类:问答Passing variadic arguments in one function to another function in D
I have a variadic D-style function foo(format, ...), which is a wrapper around writefln. I\'d like to do something like this:[详细]
2023-04-08 14:05 分类:问答QueryPerformanceCounter in D?
Is there something (planned) in the D L开发者_Python百科ibrary to support high precision timers like QueryPerformanceCounter in c++ ? How can I have a portable High precision timer in D ?[详细]
2023-04-08 12:33 分类:问答