Re: Article on where C++ is heading with memory management

2015-09-23 Thread cym13 via Digitalmars-d
On Wednesday, 23 September 2015 at 11:52:53 UTC, Ola Fosheim Grøstad wrote: https://github.com/isocpp/CppCoreGuidelines/raw/master/docs/Lifetimes%20I%20and%20II%20-%20v0.9.1.pdf A worthwhile read for those interested in where C++ is heading with regards to static analysis etc. External

Re: Stroustrup is disappointed with D :(

2015-09-23 Thread Steven Schveighoffer via Digitalmars-d
On 9/23/15 2:06 AM, Ola Fosheim Grøstad wrote: On Tuesday, 22 September 2015 at 23:21:20 UTC, Steven Schveighoffer wrote: Yeah, but you can't do this in C++ though: class D : B { this() { writeln("derived is only now complete"); super(); } } I find the ability to control

Re: Unexpected behavior when casting away immutable

2015-09-23 Thread Mike Parker via Digitalmars-d-learn
On Wednesday, 23 September 2015 at 11:38:38 UTC, Mafi wrote: On Wednesday, 23 September 2015 at 05:24:05 UTC, John Colvin wrote: On Wednesday, 23 September 2015 at 03:39:02 UTC, Mike Parker wrote: ... ``` immutable int x = 10; int* px = cast(int*) *px = 9; writeln(x); ``` It prints 10,

Indicators and traction…

2015-09-23 Thread Russel Winder via Digitalmars-d
Having just done a session at PyConUK 2015 aimed at weaning people of pure Python and into polyglot – Python with (C++|D|Chapel) (there should have been a Rust bit but…) – and as people probably heard the D bit was a bit embarrassing for me, I got some interesting comments during the rest of the

Re: Stroustrup is disappointed with D :(

2015-09-23 Thread Nemanja Boric via Digitalmars-d
On Tuesday, 22 September 2015 at 21:28:27 UTC, Ola Fosheim Grøstad wrote: I tried to determine the actual author. It was not easy and I still don't know. :) Me neither. I'm getting the impression that I am looking at a wall of guidelines-graffiti. It was introduced in this commit:

Re: Adapting Tree Structures for Processing with SIMD,Instructions

2015-09-23 Thread Iakh via Digitalmars-d
On Wednesday, 23 September 2015 at 09:58:39 UTC, Marco Leise wrote: Am Tue, 22 Sep 2015 16:36:40 + schrieb Iakh : [...] thanks for the workaround(s)

Re: OneDrive Client written in D

2015-09-23 Thread Rory McGuire via Digitalmars-d-announce
Problem is right now anyone can make an app and pretend its your app, and then ... If the user gives your keys access to their stuff so does anyone else who has your keys, if they can get the oauth2 redirect to redirect to a matching url at least. On Wed, Sep 23, 2015 at 10:38 AM, skilion via

dis...@dlang.org

2015-09-23 Thread Aidan via Digitalmars-d-learn
I am just starting to look into D and i have to say I am loving it at the moment. But I have ran into an issue that i can't seem to find any libraries for Api hooking. If anyone knows of a well documented source for this it would be much appreciated.

Article on where C++ is heading with memory management

2015-09-23 Thread Ola Fosheim Grøstad via Digitalmars-d
https://github.com/isocpp/CppCoreGuidelines/raw/master/docs/Lifetimes%20I%20and%20II%20-%20v0.9.1.pdf A worthwhile read for those interested in where C++ is heading with regards to static analysis etc. External analyzers might be an interesting direction for a gc-free D as it might be less

Re: Adapting Tree Structures for Processing with SIMD,Instructions

2015-09-23 Thread Marco Leise via Digitalmars-d
Am Tue, 22 Sep 2015 16:36:40 + schrieb Iakh : > On Tuesday, 22 September 2015 at 13:06:39 UTC, Andrei > Alexandrescu wrote: > > A paper I found interesting: > > http://openproceedings.org/EDBT/2014/paper_107.pdf -- Andrei > > __mm_movemask_epi a cornerstone of the topic

[Issue 15056] [REG2.068.1] Unstored RAII struct return yields bogus error: "cannot mix core.std.stdlib.alloca() and exception handling"

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15056 --- Comment #9 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6c7069c06b8a5b3f003955ce2d908b6c928823a2 add test for Issue 15056 -

[Issue 14708] destructor for temporary not called during stack unwinding

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14708 --- Comment #5 from github-bugzi...@puremagic.com --- Commit pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1a807d16b5d8ba87dbfd4344942a6708ef516896 Revert "fix Issue 14708 -

Re: Adapting Tree Structures for Processing with SIMD,Instructions

2015-09-23 Thread Iakh via Digitalmars-d
On Tuesday, 22 September 2015 at 20:10:36 UTC, David Nadlinger wrote: On Tuesday, 22 September 2015 at 19:45:33 UTC, Iakh wrote: Your solution is platform dependent, isn't it? Platform-dependent in what way? Yes, the intrinsic for PMOVMSKB is obviously x86-only. core.simd XMM enum has

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-23 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-09-23 08:41, NVolcz wrote: I heard that SBT does something similar (http://www.se-radio.net/2015/07/se-radio-episode-231-joshua-suereth-and-matthew-farwell-on-sbt-and-software-builds/). From what I understand it is faster due to that you can skip the overhead of startup. I also

[Issue 15100] @nogc should ignore allocations on assertion fail

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15100 --- Comment #3 from Steven Schveighoffer --- Jonathan, I think you misunderstand. This compiles today, and uses the gc (using a user-supplied variable to prevent folding into assert(0)): void main(string[] args) @nogc {

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-23 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-09-23 08:32, Dmitry Olshansky wrote: Bugzilla issue with this enhancement would help a lot with this ;) And a PR would make it happen... https://issues.dlang.org/show_bug.cgi?id=15102 I'm too lazy for a PR. -- /Jacob Carlborg

Re: Moving back to .NET

2015-09-23 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 23 September 2015 at 11:54:09 UTC, ponce wrote: Nitpick: "Rust style memory management" aka scoped ownership originated in C++ AFAIK, with auto_ptr and Boost containers of owned objects. Rust enforces it but did not invent it. It's been around a long time... C++ tend to absorb

Re: Unexpected behavior when casting away immutable

2015-09-23 Thread Mafi via Digitalmars-d-learn
On Wednesday, 23 September 2015 at 05:24:05 UTC, John Colvin wrote: On Wednesday, 23 September 2015 at 03:39:02 UTC, Mike Parker wrote: ... ``` immutable int x = 10; int* px = cast(int*) *px = 9; writeln(x); ``` It prints 10, where I expected 9. This is on Windows. I'm curious if anyone

[Issue 14708] destructor for temporary not called during stack unwinding

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14708 Kenji Hara changed: What|Removed |Added Status|RESOLVED|REOPENED

Re: OneDrive Client written in D

2015-09-23 Thread Rory McGuire via Digitalmars-d-announce
I think this should be on reddit either way. Perhaps someone will suggest a way around the oauth2 limitation. Having to generate new client secrets just to use an app that already exists seems like a mission, so providing a default set that work and the user can just make sure they get the

Re: Moving back to .NET

2015-09-23 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 23 September 2015 at 09:44:10 UTC, Chris wrote: Yes, it's hard to beat experience. However, if a feature - albeit useful - would break too much code, Walter takes a conservative stance, else D would lose most of its clients. We need a proper transition strategy. C++ seems to

Re: Moving back to .NET

2015-09-23 Thread ponce via Digitalmars-d
On Wednesday, 23 September 2015 at 10:03:28 UTC, Ola Fosheim Grøstad wrote: Another question is: what kind of competing solutions are emerging. Herb Sutter seems to have focused his cppcon talk on Rust style memory management in C++. The adoption of Rust does force the C++ designers to

[Issue 15102] New: Unified function to remove files/directories

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15102 Issue ID: 15102 Summary: Unified function to remove files/directories Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

Re: Stroustrup is disappointed with D :(

2015-09-23 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 23 September 2015 at 13:14:54 UTC, Steven Schveighoffer wrote: You can do it in C++ via initializers too, just not as useful. D still enforces sound construction. The key quality for a good OO paradigm is that you can independently modify super-classes and sub-classes in an

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-23 Thread Nick Sabalausky via Digitalmars-d-announce
On 09/23/2015 01:44 AM, Sönke Ludwig wrote: An alternative idea would be to mix in a local "writeln" function, which can then be used multiple times without syntax overhead: mixin template interp() { void iwriteln(string str)() { // pretend that we actually parse the string

Re: Unexpected behavior when casting away immutable

2015-09-23 Thread Dicebot via Digitalmars-d-learn
On Wednesday, 23 September 2015 at 14:34:07 UTC, bachmeier wrote: I was not aware that you could "violate" immutable. In that case, it's not immutable. You can violate absolutely everything in a system language with casts and pointers. That is exactly what makes it system language. But you

Re: Indicators and traction…

2015-09-23 Thread bachmeier via Digitalmars-d
On Wednesday, 23 September 2015 at 12:19:48 UTC, Russel Winder wrote: Having active regional groups is a first important factor, and that is happening, though perhaps less than would be good. Having lots of projects on GitHub (and BitBucket) that get noticed. Clearly everyone is fighting

Re: Indicators and traction…

2015-09-23 Thread Adam D. Ruppe via Digitalmars-d
We should get TV commercials. I'm not even really kidding, when I see something advertised on television, it plants a seed in my brain that this brand is serious and mainstream. After all, they were able to secure a spot on my local channel! We're talking about perception here and there may

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-23 Thread Nick Sabalausky via Digitalmars-d-announce
On 09/23/2015 02:21 AM, Jacob Carlborg wrote: Different bikeshedding: I would prefer to make the curly braces optional if it only contains a symbol. I agree. I've left that as a future enhancement for the right now. Although it shouldn't be too difficult a change. Filing it here:

Re: Unexpected behavior when casting away immutable

2015-09-23 Thread John Colvin via Digitalmars-d-learn
On Wednesday, 23 September 2015 at 14:34:07 UTC, bachmeier wrote: On Wednesday, 23 September 2015 at 05:24:05 UTC, John Colvin wrote: violating immutable is undefined behaviour, so the compiler is technically speaking free to assume it never happens. At the very least, neither snippet's

Re: Indicators and traction…

2015-09-23 Thread Nick Sabalausky via Digitalmars-d
On 09/23/2015 08:19 AM, Russel Winder via Digitalmars-d wrote: The most important can be paraphrased as "I had heard of D but as it was getting no traction, I never looked at it again." While I agree this is something we need to address, I gotta say: I *strongly* consider that attitude to

[Issue 15103] New: Improve declaration / initialization syntax error message

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15103 Issue ID: 15103 Summary: Improve declaration / initialization syntax error message Product: D Version: D2 Hardware: All OS: All Status: NEW

Re: Indicators and traction…

2015-09-23 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, 23 September 2015 at 15:09:53 UTC, Nick Sabalausky wrote: On 09/23/2015 08:19 AM, Russel Winder via Digitalmars-d wrote: The most important can be paraphrased as "I had heard of D but as it was getting no traction, I never looked at it again." While I agree this is something

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-23 Thread Ben Boeckel via Digitalmars-d-announce
On Wed, Sep 23, 2015 at 08:30:18 +0200, Jacob Carlborg via Digitalmars-d-announce wrote: > One thing that really bugs me in Phobos, Scriptlike seems to have the > same problem, is that there are three (!!!) different functions to > remove something from the file system. Give me just one

Re: Stroustrup is disappointed with D :(

2015-09-23 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 23 September 2015 at 14:01:11 UTC, Steven Schveighoffer wrote: If the base ctor doesn't call any virtual functions, when it's constructed doesn't really matter. 1. In D members are virtual by default, so the virtuality can be a mistake. 2. In D/C++ you can do full override of

Re: Indicators and traction…

2015-09-23 Thread Wyatt via Digitalmars-d
On Wednesday, 23 September 2015 at 13:58:09 UTC, Adam D. Ruppe wrote: We should get TV commercials. I'm not even really kidding, when I see something advertised on television, it plants a seed in my brain that this brand is serious and mainstream. After all, they were able to secure a spot

Re: Indicators and traction…

2015-09-23 Thread Andrea Fontana via Digitalmars-d
On Wednesday, 23 September 2015 at 12:19:48 UTC, Russel Winder wrote: Having just done a session at PyConUK 2015 aimed at weaning people of pure Python and into polyglot – Python with (C++|D|Chapel) (there should have been a Rust bit but…) – and as people probably heard the D bit was a bit

Re: Stroustrup is disappointed with D :(

2015-09-23 Thread Steven Schveighoffer via Digitalmars-d
On 9/23/15 9:48 AM, Ola Fosheim Grøstad wrote: On Wednesday, 23 September 2015 at 13:14:54 UTC, Steven Schveighoffer wrote: You can do it in C++ via initializers too, just not as useful. D still enforces sound construction. The key quality for a good OO paradigm is that you can independently

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-23 Thread Nick Sabalausky via Digitalmars-d-announce
On 09/23/2015 02:30 AM, Jacob Carlborg wrote: On 2015-09-22 22:18, Nick Sabalausky wrote: Big update to Scriptlike, v0.9.4: https://github.com/Abscissa/scriptlike Scriptlike is a library to help you write script-like programs in D. One thing that really bugs me in Phobos, Scriptlike seems to

Re: OneDrive Client written in D

2015-09-23 Thread Nick Sabalausky via Digitalmars-d-announce
On 09/23/2015 08:38 AM, Rory McGuire via Digitalmars-d-announce wrote: Problem is right now anyone can make an app and pretend its your app, and then ... If the user gives your keys access to their stuff so does anyone else who has your keys, if they can get the oauth2 redirect to redirect to a

Re: Indicators and traction…

2015-09-23 Thread Chris via Digitalmars-d
On Wednesday, 23 September 2015 at 15:47:06 UTC, Chris wrote: We're up against a) billions of dollars: big corporations (cf. Go) and the Java/C++/C# industry that makes millions selling training courses and books etc. b) the general inertia and herd behavior of people, and to make the herd

Re: Indicators and traction…

2015-09-23 Thread Nick Sabalausky via Digitalmars-d
On 09/23/2015 11:29 AM, Jonathan M Davis wrote: While there is truth to this, it's also true that people's time is valuable, and many programmers are not going to want to spend time learning a language that they're not going to be able to use in the long run. And even if it can be used in the

Re: Indicators and traction…

2015-09-23 Thread Chris via Digitalmars-d
On Wednesday, 23 September 2015 at 12:19:48 UTC, Russel Winder wrote: The most important can be paraphrased as "I had heard of D but as it was getting no traction, I never looked at it again." Sad but true. Developers want better tools, but don't even look at them, unless you hype them. No

Re: Indicators and traction…

2015-09-23 Thread Nick Sabalausky via Digitalmars-d
On 09/23/2015 11:45 AM, John Colvin wrote: I think you're misinterpreting some of these people. Some will be following fashions, but many will be simply not wanting to put time and effort in to something that they're not convinced is going to work out in the long run. That amounts to the same

Re: scope in function argument

2015-09-23 Thread Adam D. Ruppe via Digitalmars-d-learn
On Wednesday, 23 September 2015 at 17:09:40 UTC, Freddy wrote: What does it mean when there is a scope in a function argument. That you are not supposed to let that reference escape the function scope. The compiler does little verification of this right now, but may optimize on that

Re: Indicators and traction…

2015-09-23 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 23 September 2015 at 15:12:13 UTC, bachmeier wrote: I'm sure others could add to the list. Once these things are under control, we can worry about marketing. Hopefully when DMD is refactored and documented it will provide an avenue for marketing DMD as a nice codebase for people

Re: Indicators and traction…

2015-09-23 Thread Joakim via Digitalmars-d
On Wednesday, 23 September 2015 at 15:47:06 UTC, Chris wrote: On Wednesday, 23 September 2015 at 12:19:48 UTC, Russel Winder wrote: The most important can be paraphrased as "I had heard of D but as it was getting no traction, I never looked at it again." Sad but true. Developers want better

Re: Indicators and traction…

2015-09-23 Thread Nick Sabalausky via Digitalmars-d
On 09/23/2015 11:47 AM, Chris wrote: a) billions of dollars: big corporations (cf. Go) and the Java/C++/C# industry that makes millions selling training courses and books etc. b) the general inertia and herd behavior of people, and to make the herd move you need a) FWIW, Python hit

Re: Indicators and traction…

2015-09-23 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 23 September 2015 at 16:22:02 UTC, Nick Sabalausky wrote: FWIW, Python hit pretty big success with a different approach: Appeal to people's innate desire for instant gratification. Perl and Python gained traction because they replaced multiple other scripting tools by a single

[Issue 15103] Improve declaration / initialization syntax error message

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15103 Steven Schveighoffer changed: What|Removed |Added Keywords||diagnostic

[Issue 6400] opDispatch with WithStatement

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6400 Luís Marques changed: What|Removed |Added CC||l...@luismarques.eu ---

Re: Indicators and traction…

2015-09-23 Thread John Colvin via Digitalmars-d
On Wednesday, 23 September 2015 at 15:09:53 UTC, Nick Sabalausky wrote: On 09/23/2015 08:19 AM, Russel Winder via Digitalmars-d wrote: The most important can be paraphrased as "I had heard of D but as it was getting no traction, I never looked at it again." While I agree this is something

scope in function argument

2015-09-23 Thread Freddy via Digitalmars-d-learn
What does it mean when there is a scope in a function argument. --- void func(scope int* a){} ---

Re: scope in function argument

2015-09-23 Thread Ali Çehreli via Digitalmars-d-learn
On 09/23/2015 10:11 AM, Adam D. Ruppe wrote: > On Wednesday, 23 September 2015 at 17:09:40 UTC, Freddy wrote: >> What does it mean when there is a scope in a function argument. > > That you are not supposed to let that reference escape the function > scope. Just to complete with a related

Re: Dub package with C code

2015-09-23 Thread Sebastiaan Koppe via Digitalmars-d-learn
On Thursday, 24 September 2015 at 04:17:14 UTC, Rikki Cattermole wrote: Is libxlsxwriter available in the systems package manager? Pacman says no. Let e.g. Windows users figure theirs out. libxlsxwriter is not supported on windows. Which is kind-of funny.

Re: Moving back to .NET

2015-09-23 Thread rumbu via Digitalmars-d
On Tuesday, 22 September 2015 at 11:01:28 UTC, Chris wrote: On Sunday, 20 September 2015 at 17:32:53 UTC, Adam wrote: It's almost exclusively due to the error messages and IDE. I know many here will write off such complaints, So be it. The thing is that a lot of people who use D don't mind

Re: dis...@dlang.org

2015-09-23 Thread Ali Çehreli via Digitalmars-d-learn
On 09/23/2015 06:01 AM, Aidan wrote: I am just starting to look into D and i have to say I am loving it at the moment. But I have ran into an issue that i can't seem to find any libraries for Api hooking. If anyone knows of a well documented source for this it would be much appreciated. I

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-23 Thread Nick Sabalausky via Digitalmars-d-announce
On 09/23/2015 03:18 PM, Chad Joan wrote: This is why I argued for alternative mixin syntax in D some ... years? ... ago. It'd be really cool to have a writefln overload that did this: int somevar = 42; writefln#("This is ${somevar}"); writefln#("Plus two and you get ${somevar+1}"); Which

D ranked as #25 by IEEE spectrum

2015-09-23 Thread Ola Fosheim Grøstad via Digitalmars-d
http://spectrum.ieee.org/static/interactive-the-top-programming-languages-2015

Re: Silicon Valley D Meetup September 2015

2015-09-23 Thread Ali Çehreli via Digitalmars-d-announce
On 09/16/2015 11:30 AM, Ali Çehreli wrote: "Introducing ultraviolet-d, a web framework for REST-ful services" http://www.meetup.com/D-Lang-Silicon-Valley/events/224948581/ Ali This meetup is on Thursday, September 24, 2015 at 7:00 PM. I have updated the page with Truedat's bio: Truedat

Re: DUB release candidate 0.9.24-rc.3 ready for testing

2015-09-23 Thread Nick Sabalausky via Digitalmars-d
On 09/21/2015 05:44 AM, Sönke Ludwig wrote: Am 15.09.2015 um 18:56 schrieb Nick Sabalausky: On 09/14/2015 07:45 AM, Sönke Ludwig wrote: SDLang [1] [...] [1]: http://sdl.ikayzo.org/display/SDL/Home That site is down at the moment (I've contacted the owner). But in the meantime, a mirror of

Re: Indicators and traction…

2015-09-23 Thread Nick Sabalausky via Digitalmars-d
On 09/23/2015 01:16 PM, Ola Fosheim Grøstad wrote: On Wednesday, 23 September 2015 at 16:22:02 UTC, Nick Sabalausky wrote: FWIW, Python hit pretty big success with a different approach: Appeal to people's innate desire for instant gratification. Perl and Python gained traction because they

Re: Indicators and traction…

2015-09-23 Thread Nick Sabalausky via Digitalmars-d
On 09/23/2015 12:22 PM, Joakim wrote: Most developers are either not interested in choosing their own tools, or know they're not smart enough to do so. Perhaps so. Although if they're in either of those boats, then IMO they're unqualified to be doing it professionally, at least beyond

Re: Stroustrup is disappointed with D :(

2015-09-23 Thread Ali Çehreli via Digitalmars-d
On 09/23/2015 05:16 AM, Nemanja Boric wrote: On Tuesday, 22 September 2015 at 21:28:27 UTC, Ola Fosheim Grøstad wrote: I tried to determine the actual author. It was not easy and I still don't know. :) Me neither. I'm getting the impression that I am looking at a wall of

Re: dis...@dlang.org

2015-09-23 Thread novice2 via Digitalmars-d-learn
http://forum.dlang.org/thread/hrzfcjrltftgzansd...@forum.dlang.org https://github.com/Trass3r/hooksample

[Issue 15003] assumeSorted Allocates GC Memory in Debug Mode

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15003 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 15003] assumeSorted Allocates GC Memory in Debug Mode

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15003 --- Comment #2 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/3fb4a9eaeaa68126341bf82082926ee4e96c1871 fix issue 15003 --

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-23 Thread Per Nordlöw via Digitalmars-d-announce
On Tuesday, 22 September 2015 at 13:22:25 UTC, Joakim wrote: Like ekam? https://github.com/sandstorm-io/ekam Sounds very promising! We talked about it when I interviewed Atila: http://arsdnet.net/this-week-in-d/sep-06.html Thanks!

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-23 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-09-22 22:18, Nick Sabalausky wrote: = String Interpolation: = https://github.com/Abscissa/scriptlike#string-interpolation AFAICT, a string mixin is necessary to accomplish this in D, but otherwise it works much like other languages:

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-23 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-09-22 22:18, Nick Sabalausky wrote: Big update to Scriptlike, v0.9.4: https://github.com/Abscissa/scriptlike Scriptlike is a library to help you write script-like programs in D. One thing that really bugs me in Phobos, Scriptlike seems to have the same problem, is that there are

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-23 Thread Dmitry Olshansky via Digitalmars-d-announce
On 23-Sep-2015 09:30, Jacob Carlborg wrote: On 2015-09-22 22:18, Nick Sabalausky wrote: Big update to Scriptlike, v0.9.4: https://github.com/Abscissa/scriptlike Scriptlike is a library to help you write script-like programs in D. One thing that really bugs me in Phobos, Scriptlike seems to

[Issue 10932] Useless temporaries and other absurd in inlined code

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10932 Walter Bright changed: What|Removed |Added CC|

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-23 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-09-22 14:39, Per Nordlöw wrote: SCons has a very hidden feature called interactive mode via `--interactive` that supports instantaenous incremental builds via a very primitive CLI that basically supports to commands: Incremental builds in D are currently not reliable. Something about

[Issue 15100] @nogc should ignore allocations on assertion fail

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15100 Jonathan M Davis changed: What|Removed |Added CC|

What's wrong with this BinaryHeap declaration line? Assertion failure in std.container.array.d

2015-09-23 Thread Enjoys Math via Digitalmars-d-learn
What I HAD TO do to get it to compile: programResultsQ = heapify!(compareResults, Array!(Results!(O,I)))(Array!(Results!(O,I))([Results!(O,I)()]), 1); programResultsQ.popFront(); What running it says: AssertionFailure at line 381 of std.container.array.d, which looks like: /**

Re: What's wrong with this BinaryHeap declaration line? Assertion failure in std.container.array.d

2015-09-23 Thread Enjoys Math via Digitalmars-d-learn
On Wednesday, 23 September 2015 at 05:56:08 UTC, Enjoys Math wrote: What I HAD TO do to get it to compile: programResultsQ = heapify!(compareResults, Array!(Results!(O,I)))(Array!(Results!(O,I))([Results!(O,I)()]), 1); programResultsQ.popFront(); What running it says: AssertionFailure at

Re: Stroustrup is disappointed with D :(

2015-09-23 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 22 September 2015 at 23:21:20 UTC, Steven Schveighoffer wrote: Yeah, but you can't do this in C++ though: class D : B { this() { writeln("derived is only now complete"); super(); } } I find the ability to control the construction order far more important than

[Issue 14840] [2.068.0-b2] failure to inline functions with loops

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14840 Walter Bright changed: What|Removed |Added Hardware|x86_64 |All

Re: OneDrive Client written in D

2015-09-23 Thread skilion via Digitalmars-d-announce
On Wednesday, 23 September 2015 at 04:30:23 UTC, Rikki Cattermole wrote: You probably should not be exposing developer information for authentication. You need to get the authentication fixed. Users should login via user/pass. I think you are referreing to the the fields client_id and

Re: Moving back to .NET

2015-09-23 Thread Kagamin via Digitalmars-d
On Tuesday, 22 September 2015 at 18:30:35 UTC, Ola Fosheim Grøstad wrote: I think the process changes a lot when you are working with an actual language spec for several years and get experimental implementations in compilers a long time before release. Add also the number of qualified

[Issue 14708] destructor for temporary not called during stack unwinding

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14708 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #4

Re: Stroustrup is disappointed with D :(

2015-09-23 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 23 September 2015 at 08:27:43 UTC, ponce wrote: I fail to see how the multi-part C++ object initialization is any better than the one of D. It just is very simple in D: first assign .init, then call the destructor, virtual calls allowed (of course!). The combination of being

Re: Stroustrup is disappointed with D :(

2015-09-23 Thread Mengu via Digitalmars-d
On Tuesday, 22 September 2015 at 19:52:48 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 22 September 2015 at 19:38:35 UTC, Ali Çehreli wrote: C++'s approach is better from the point of view of corretness. However, it is slower because the object's vtbl pointer must be stamped several times

Re: Stroustrup is disappointed with D :(

2015-09-23 Thread ponce via Digitalmars-d
On Tuesday, 22 September 2015 at 18:58:31 UTC, Tourist wrote: "D disappointed me so much when it went the Java way". https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#to-do-unclassified-proto-rules It's something about virtual calls, but I didn't understand what he

Re: Stroustrup is disappointed with D :(

2015-09-23 Thread ponce via Digitalmars-d
On Wednesday, 23 September 2015 at 08:27:43 UTC, ponce wrote: On Tuesday, 22 September 2015 at 18:58:31 UTC, Tourist wrote: "D disappointed me so much when it went the Java way". https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#to-do-unclassified-proto-rules It just

Re: cpp_binder, a not-yet-useful tool for generating C++ bindings

2015-09-23 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 22 September 2015 at 16:24:33 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 22 September 2015 at 15:53:22 UTC, Kagamin wrote: Of course you didn't. In C you can mutate const object without cast. But it's not an issue because it's not what is usually done and usually const works as

[Issue 15101] New: [Home]

2015-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15101 Issue ID: 15101 Summary: [Home] Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity: enhancement

Re: Why is the constructor of B called?

2015-09-23 Thread tcak via Digitalmars-d-learn
On Wednesday, 23 September 2015 at 21:14:17 UTC, Adam D. Ruppe wrote: On Wednesday, 23 September 2015 at 21:08:37 UTC, tcak wrote: I wouldn't expect B's constructor to be called at all unless "super" is used there. "If no call to constructors via this or super appear in a constructor, and

Re: Moving back to .NET

2015-09-23 Thread alienhunter3 via Digitalmars-d
On Wednesday, 23 September 2015 at 18:36:01 UTC, rumbu wrote: IDE is not just a nice interface to write code. It's a way to organize files, AST based file browsing, github integration, and - the most important aspect for me - is the *integrated debugging support*. I'll never use dmd from

Re: Indicators and traction…

2015-09-23 Thread Ola Fosheim Grostad via Digitalmars-d
On Wednesday, 23 September 2015 at 18:33:06 UTC, Nick Sabalausky wrote: C/C++ (and Python) as far as I'm concerned. Unfortunately, marketing it that way isn't so PC anymore ;) But hell, that's what drew me. C/C++ for me too, but that was to a large extent due to D1's simplicity (easy to

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-23 Thread Chad Joan via Digitalmars-d-announce
On Wednesday, 23 September 2015 at 14:33:23 UTC, Nick Sabalausky wrote: On 09/23/2015 01:44 AM, Sönke Ludwig wrote: An alternative idea would be to mix in a local "writeln" function, which can then be used multiple times without syntax overhead: mixin template interp() { void

Re: Indicators and traction…

2015-09-23 Thread Nick Sabalausky via Digitalmars-d
On 09/23/2015 02:57 PM, Ola Fosheim Grostad wrote: On Wednesday, 23 September 2015 at 18:33:06 UTC, Nick Sabalausky wrote: Except D2's already surpassed D1 :) That's true, although D1 had a more active library producing community? Hmm, that's not the impression I get (aside from Tango which

Re: Indicators and traction…

2015-09-23 Thread ponce via Digitalmars-d
On Wednesday, 23 September 2015 at 18:57:21 UTC, Ola Fosheim Grostad wrote: Except D2's already surpassed D1 :) That's true, although D1 had a more active library producing community? I think it was way worse than today, because of the Tango/Phobos split, few people using DSSS, or "bud",

Re: Moving back to .NET

2015-09-23 Thread Idan Arye via Digitalmars-d
On Wednesday, 23 September 2015 at 20:41:38 UTC, rumbu wrote: On Wednesday, 23 September 2015 at 19:52:11 UTC, Paolo Invernizzi wrote: On Wednesday, 23 September 2015 at 18:36:01 UTC, rumbu wrote: Personally, I don't know any Windows developer masochistic enough to use the command line when

Re: Why is the constructor of B called?

2015-09-23 Thread Adam D. Ruppe via Digitalmars-d-learn
On Wednesday, 23 September 2015 at 21:08:37 UTC, tcak wrote: I wouldn't expect B's constructor to be called at all unless "super" is used there. "If no call to constructors via this or super appear in a constructor, and the base class has a constructor, a call to super() is inserted at the

Re: Is there a smart way to process a range of range by front ?

2015-09-23 Thread BBasile via Digitalmars-d-learn
On Wednesday, 23 September 2015 at 21:04:44 UTC, Justin Whear wrote: On Wed, 23 Sep 2015 20:48:03 +, BBasile wrote: I was thinking to a general *interleave()* algorithm for any compatible Range of Range but I can't find any smart way to process each sub range by front Can you show a

Re: Is there a smart way to process a range of range by front ?

2015-09-23 Thread Justin Whear via Digitalmars-d-learn
On Wed, 23 Sep 2015 21:17:27 +, BBasile wrote: > On Wednesday, 23 September 2015 at 21:04:44 UTC, Justin Whear wrote: >> On Wed, 23 Sep 2015 20:48:03 +, BBasile wrote: >> >>> I was thinking to a general *interleave()* algorithm for any >>> compatible Range of Range but I can't find any

Re: Is there a smart way to process a range of range by front ?

2015-09-23 Thread BBasile via Digitalmars-d-learn
On Wednesday, 23 September 2015 at 21:17:29 UTC, BBasile wrote: On Wednesday, 23 September 2015 at 21:04:44 UTC, Justin Whear wrote: On Wed, 23 Sep 2015 20:48:03 +, BBasile wrote: I was thinking to a general *interleave()* algorithm for any compatible Range of Range but I can't find any

Re: Moving back to .NET

2015-09-23 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 23 September 2015 at 20:41:38 UTC, rumbu wrote: On Wednesday, 23 September 2015 at 19:52:11 UTC, Paolo Invernizzi wrote: On Wednesday, 23 September 2015 at 18:36:01 UTC, rumbu wrote: Personally, I don't know any Windows developer masochistic enough to use the command line when

Re: Is there a smart way to process a range of range by front ?

2015-09-23 Thread BBasile via Digitalmars-d-learn
On Wednesday, 23 September 2015 at 21:24:22 UTC, Justin Whear wrote: On Wed, 23 Sep 2015 21:17:27 +, BBasile wrote: On Wednesday, 23 September 2015 at 21:04:44 UTC, Justin Whear wrote: On Wed, 23 Sep 2015 20:48:03 +, BBasile wrote: I was thinking to a general *interleave()* algorithm

  1   2   >