Re: C++17 Init statement for if/switch
On Wednesday, 16 August 2017 at 13:40:47 UTC, Guillaume Boucher wrote: On Wednesday, 16 August 2017 at 12:58:03 UTC, Joakim wrote: That is correct. After a while it gets tiring to see a neverending stream of complexity added to the language while things that would actually help (like IDE support) do not get any attention. +1, though I'd go for bug-fixing over IDEs. I like that. Feature freeze D until *all* bug reports are closed. While that would mean no more features for several years, I think it would benefit the language in the long run, both internally (less discussions about incorrect behavior) and externally (D is a mature and stable language). You'd see a fork.
Re: Make D language as Apache foundation project
On Wednesday, 27 July 2016 at 13:20:50 UTC, lkfsdg wrote: On Wednesday, 27 July 2016 at 13:08:17 UTC, eugene wrote: Hello everyone, why not to make a D language as a project of Apache foundation as it happened to groovy? stupid, D has its own organization. Why the acrid tone. :(
Re: How to properly Thread.sleep?
On Wednesday, 25 March 2015 at 17:23:40 UTC, Israel wrote: Ive tried using google but no matter what code i find it either doesnt work, compiler gives me errors or maybe the code is deprecated. What is the proper way of adding sleep time to a program? Ive tried.. import std.stdio; import core.thread; void main() { writeln(Sleep..); sleep(200); writeln(done); } but all i get is a compiler error unidentified identifier sleep. The documentation examples dont make sense. Why would it work this way? Thread.sleep( dur!(msecs)( 50 ) ); // sleep for 50 milliseconds Thread.sleep( dur!(seconds)( 5 ) ); // sleep for 5 seconds Thread.sleep(200.msecs); Thread.sleep(12.seconds); Thread.sleep(1.minutes);
Re: Making byLine faster: we should be able to delegate this
On Sunday, 22 March 2015 at 07:03:14 UTC, Andrei Alexandrescu wrote: I confess I am a bit disappointed with the leadership being unable to delegate this task to a trusty lieutenant in the community. There's been a bug opened on this for a long time, it gets regularly discussed here (with the wrong conclusions (we must redo D's I/O because FILE* is killing it!) about performance bottlenecks drawn from unverified assumptions), and the techniques used to get a marked improvement in the diff above are trivial fare for any software engineer. The following factors each had a significant impact on speed: Lack of developer itch in a comparatively small developer base making the complement of no one dealing with it too small. :c Cheers for taking the time, though! All the love for devs.
Re: Local functions infer attributes?
On Tuesday, 30 September 2014 at 09:13:02 UTC, ixid wrote: Otherwise if you like D, then try to improve it from the inside, writing dmd/Phobos/druntime pull requests, instead of doing it from the outside. I'd never have my PR's pulled. I'm also not as interested in language development as it might appear. I'm interested in writing code and getting work done, and minimising friction. I'm interested in more efficient ways to get my work done, and also opportunities to write more efficient code, but that doesn't mean I want to stop doing my work and instead work on HOW I do my work. I find myself in a very awkward situation where I'm too far in... I can't go back to C++, Have you taken a look at Rust? Yeah, it's just too weird for me to find realistic. It also more rigidly asserts it's opinions on you, which are in many cases, not optimal. Rust typically shows a performance disadvantage, which I care about. Perhaps more importantly, for practical reasons, I can't ever imagine convincing a studio of hundreds of programmers to switch to rust. C++ programmers can learn D by osmosis, but staff retraining burden to move to Rust seems completely unrealistic to me. You're a vital alternative voice, please try to stick with us. The interest your talk and presence generated for D was huge and the games industry should be a major target for D. I also suspect Andrei is doing a major project at the moment which is making him uncharacteristically harsh in his responses, from his POV he's doing something massive to help D while the community has gone into a negative mode. +10 3 Pardon the pandering, but I actually see Andrei Walter and you as making up the trinity of idealism, codegen pragmatism and industry use respectively.