Re: Beta 2.073.0-b1

2017-01-14 Thread Walter Bright via Digitalmars-d-announce
On 1/7/2017 6:44 AM, biozic wrote: Are phobos unittests not passing when compiling with -dip1000 considered bugs or is it this experimental? druntime is now being compiled with -dip1000. https://github.com/dlang/druntime/pull/1733 Phobos is next!

Re: Beta 2.073.0-b2

2017-01-14 Thread Jack Stouffer via Digitalmars-d-announce
On Sunday, 15 January 2017 at 01:03:26 UTC, Martin Nowak wrote: Second beta for the 2.073.0 release. This adds a few more dmd bugfixes over the first beta. https://github.com/dlang/dmd/compare/v2.073.0-b1...v2.073.0-b2 http://dlang.org/download.html#dmd_beta

Re: Software Engineer at LinkedIn praises D

2017-01-14 Thread Walter Bright via Digitalmars-d-announce
Thanks for letting us know! Very nice to hear.

Silvermirror to mirror websites

2017-01-14 Thread Chris Wright via Digitalmars-d-announce
Github: https://github.com/dhasenan/silvermirror Silvermirror is a tool to mirror websites -- download them locally and serve copies of them. Compared to wget, which is the standard tool, its advantages are: * Resumability * Reduced memory usage (at least 20x in my tests) * Consistent URL

Pry v0.3.1 is out!

2017-01-14 Thread Dmitry Olshansky via Digitalmars-d-announce
Pry is a new pragmatic parser combinators library. https://github.com/DmitryOlshansky/pry (also available on Dub) It's still in the early stages but I think it might be a good time to gauge some interest. Two key areas of focus are (compared to say Pegged): - performance, on par with

Beta 2.073.0-b2

2017-01-14 Thread Martin Nowak via Digitalmars-d-announce
Second beta for the 2.073.0 release. This adds a few more dmd bugfixes over the first beta. https://github.com/dlang/dmd/compare/v2.073.0-b1...v2.073.0-b2 http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.0.html Please report any bugs at https://issues.dlang.org -Martin

Re: SmartRef: The Smart Pointer In D

2017-01-14 Thread Martin Nowak via Digitalmars-d-announce
On 01/14/2017 04:41 PM, Dmitry Olshansky wrote: > Not quite true, there is at least one huge advantage - thread-locality. > That is C++ smart_ptr has to be atomic, while its D counter part may > safely be non-atomic because everything is TLS be default. And you can add a shared postblit overload

Re: Beta 2.073.0-b1

2017-01-14 Thread Martin Nowak via Digitalmars-d-announce
On 01/14/2017 03:14 AM, bitwise wrote: > Is it possible to get an ETA on protection work on __traits? As any responsible programmer, I won't give out dates ;). But as was mentioned this is mostly just removing existing access checks, the visibility checks already treat __traits specially. This

Re: Beta 2.073.0-b1

2017-01-14 Thread Timothee Cour via Digitalmars-d-announce
> > * -transition=safe/-dip1000 > => not mentioned in http://dlang.org/changelog/2.073.0.html > > That's deliberate, as you can't even use it with writeln yet. https://issues.dlang.org/show_bug.cgi?id=17090 `dmd -transition=?` needs quoting => make it `-transition=help` On Sat, Jan 14, 2017 at

Re: SmartRef: The Smart Pointer In D

2017-01-14 Thread Nordlöw via Digitalmars-d-announce
On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote: I write the ref count pointer and the scoped point in D. How do two of these differ from - https://dlang.org/phobos/std_typecons.html#.RefCounted - https://dlang.org/phobos/std_typecons.html#.Unique under

Re: SmartRef: The Smart Pointer In D

2017-01-14 Thread Chris Wright via Digitalmars-d-announce
On Sat, 14 Jan 2017 11:52:34 +, nbro wrote: > Garbage collection in D is more expensive just because of the poor > implementation, from what I've heard. If that's the case, people who > work on it should be able to improve it over time. I posted about this in general. A GC for Java, Python,

Re: SmartRef: The Smart Pointer In D

2017-01-14 Thread nbro via Digitalmars-d-announce
On Saturday, 14 January 2017 at 04:14:11 UTC, Chris Wright wrote: It's reference counting. Reference counting is like garbage collection, but deamortized. This is better for real-time applications. However, it adds overhead on every assignment and every variable going out of scope. In D,

Re: Beta 2.073.0-b1

2017-01-14 Thread Walter Bright via Digitalmars-d-announce
On 1/7/2017 3:54 AM, Jacob Carlborg wrote: On 2017-01-07 06:02, Martin Nowak wrote: an experimental safety checks (-transition=safe/-dip1000) Is the flag to enable the new checks or revert to the previous behavior? enable

Re: Beta 2.073.0-b1

2017-01-14 Thread Basile B. via Digitalmars-d-announce
On Saturday, 14 January 2017 at 07:51:13 UTC, Basile B. wrote: On Saturday, 7 January 2017 at 05:02:13 UTC, Martin Nowak wrote: First beta for the 2.073.0 release. _D4core4time12TickDuration25__T10opOpAssignVAyaa1_2bZ10opOpAssignMFNaNbNcNiNfS4core4time12TickDurationZS4core4time12TickDuration