Re: An Issue I Wish To Raise Awareness On

2017-07-20 Thread via Digitalmars-d
On Thursday, 20 July 2017 at 10:16:21 UTC, Kagamin wrote: On Wednesday, 19 July 2017 at 21:50:32 UTC, Petar Kirov [ZombineDev] wrote: Note that this doesn't play well with regular [1] value types becuase e.g. you don't have control over the synthesized bit-blit for this(this) and so you can't

Re: An Issue I Wish To Raise Awareness On

2017-07-20 Thread via Digitalmars-d
On Thursday, 20 July 2017 at 10:16:21 UTC, Kagamin wrote: On Wednesday, 19 July 2017 at 21:50:32 UTC, Petar Kirov [ZombineDev] wrote: Note that this doesn't play well with regular [1] value types becuase e.g. you don't have control over the synthesized bit-blit for this(this) and so you can't

Re: struct constructors and destructors.

2017-07-20 Thread via Digitalmars-d
On Thursday, 20 July 2017 at 09:09:42 UTC, Danni Coy wrote: On Thu, Jul 20, 2017 at 12:19 AM, SrMordred via Digitalmars-d < digitalmars-d@puremagic.com> wrote: On Wednesday, 19 July 2017 at 14:09:32 UTC, SrMordred wrote: On Wednesday, 19 July 2017 at 09:09:40 UTC, Stefan Koch wrote: On

[Issue 16403] wrong "matches more than one template declaration" error with template specialization on alias parameters

2017-07-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16403 Vladimir Panteleev changed: What|Removed |Added Hardware|x86_64 |All

[Issue 17672] New: Example from std.format throws exceptions

2017-07-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17672 Issue ID: 17672 Summary: Example from std.format throws exceptions Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: minor

Re: An Issue I Wish To Raise Awareness On

2017-07-20 Thread Kagamin via Digitalmars-d
On Thursday, 20 July 2017 at 07:40:35 UTC, Dominikus Dittes Scherkl wrote: On Wednesday, 19 July 2017 at 22:35:43 UTC, Jonathan M Davis wrote: The issue isn't the object being destroyed. It's what it refers to via its member variables. For instance, what if an object were to remove itself from

Re: An Issue I Wish To Raise Awareness On

2017-07-20 Thread Kagamin via Digitalmars-d
On Wednesday, 19 July 2017 at 21:50:32 UTC, Petar Kirov [ZombineDev] wrote: Note that this doesn't play well with regular [1] value types becuase e.g. you don't have control over the synthesized bit-blit for this(this) and so you can't assume that structs with a single pointer member are

Re: An Issue I Wish To Raise Awareness On

2017-07-20 Thread Kagamin via Digitalmars-d
On Wednesday, 19 July 2017 at 20:59:03 UTC, Atila Neves wrote: Not necessarily - the reference counted smart pointer doesn't have to be `shared` itself to have a `shared` payload. Yes, but it can be done either way. It's actually what Jack is trying to do: make stdout shared and reference

Re: newCTFE Status July 2017

2017-07-20 Thread Stefan Koch via Digitalmars-d
On Thursday, 13 July 2017 at 12:45:19 UTC, Stefan Koch wrote: [ ... ] Hi Guys, The following code compiles now and runs in very reasonable time even for unreasonable repeat-counts. string repeatString(string s, uint repeatCount) { char[] result; uint sLength = cast(uint) s.length;

Commandline args to rdmd --eval=...

2017-07-20 Thread closescreen via Digitalmars-d-learn
Hello, all. Is it possible to pass cli args to rdmd eval-program? F.e. if I try: rdmd --eval="args.writeln" -- 123 then: Cannot have both --eval and a program file ('123') In perl it's possible: perl -e'print join ",", @ARGV' 123 234 # 123,234

Re: struct constructors and destructors.

2017-07-20 Thread Danni Coy via Digitalmars-d
On Thu, Jul 20, 2017 at 12:19 AM, SrMordred via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On Wednesday, 19 July 2017 at 14:09:32 UTC, SrMordred wrote: > >> On Wednesday, 19 July 2017 at 09:09:40 UTC, Stefan Koch wrote: >> >>> On Wednesday, 19 July 2017 at 07:48:28 UTC, Danni Coy

Re: An Issue I Wish To Raise Awareness On

2017-07-20 Thread Kagamin via Digitalmars-d
On Wednesday, 19 July 2017 at 12:56:38 UTC, Marco Leise wrote: That's exactly what I was opposing in the other post. These handles are opaque and never change their value. Within the Dlang language barrier they can be immutable and as such, implicitly shared. Given transitivity of immutability

[Issue 17668] regex(q"<[^]>")

2017-07-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17668 Nikolay (unDEFER) Krivchenkov changed: What|Removed |Added CC|

[Issue 17667] regex([r".", r"[\(\{[\]\}\)]"]);

2017-07-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17667 Nikolay (unDEFER) Krivchenkov changed: What|Removed |Added CC|

Re: Release D 2.075.0

2017-07-20 Thread Vladimir Panteleev via Digitalmars-d-announce
On Thursday, 20 July 2017 at 07:19:03 UTC, Patrick Schluter wrote: version 2.067 that still had the C++ frontend took more than 100 seconds. I think if the backend is translated to D, building the compiler will take not more than 2 seconds. To put it in perspective, building gcc with only C and

Re: Release D 2.075.0

2017-07-20 Thread Walter Bright via Digitalmars-d-announce
On 7/20/2017 12:19 AM, Patrick Schluter wrote: version 2.067 that still had the C++ frontend took more than 100 seconds. I think if the backend is translated to D, building the compiler will take not more than 2 seconds. To put it in perspective, building gcc with only C and C++ support takes

[Issue 17671] New: std.format example is not compiles

2017-07-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17671 Issue ID: 17671 Summary: std.format example is not compiles Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: critical Priority: P1

[Issue 17670] New: Std.bitmanip module has no (runnable) examples

2017-07-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17670 Issue ID: 17670 Summary: Std.bitmanip module has no (runnable) examples Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: minor

Re: An Issue I Wish To Raise Awareness On

2017-07-20 Thread Dominikus Dittes Scherkl via Digitalmars-d
On Wednesday, 19 July 2017 at 22:35:43 UTC, Jonathan M Davis wrote: The issue isn't the object being destroyed. It's what it refers to via its member variables. For instance, what if an object were to remove itself from a shared list when it's destroyed (e.g. because it's an observer in the

Re: Release D 2.075.0

2017-07-20 Thread Patrick Schluter via Digitalmars-d-announce
On Wednesday, 19 July 2017 at 19:34:44 UTC, Joakim wrote: On Wednesday, 19 July 2017 at 15:36:22 UTC, Martin Nowak wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 [...] Wow, dmd builds in 12 seconds on a single linux/x64 core, can't wait to see what that time is when the backend is

[Issue 17668] regex(q"<[^]>")

2017-07-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17668 Dmitry Olshansky changed: What|Removed |Added CC|

[Issue 17667] regex([r".", r"[\(\{[\]\}\)]"]);

2017-07-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17667 Dmitry Olshansky changed: What|Removed |Added CC|

<    1   2