Re: DlangIDE

2015-02-28 Thread Rainer Schuetze via Digitalmars-d-announce
On 26.02.2015 11:17, Vadim Lopatin wrote: On Wednesday, 18 February 2015 at 08:21:19 UTC, Rainer Schuetze wrote: On 17.02.2015 20:41, Vadim Lopatin wrote: It looks like we need to develop some universal debugger library. For linux, it can use gdb as a backend. For windows - I'm not sure.

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 28 February 2015 at 05:57:19 UTC, deadalnix wrote: On Saturday, 28 February 2015 at 03:49:04 UTC, ketmar wrote: On Fri, 27 Feb 2015 20:13:31 +, weaselcat wrote: Are op* considered reserved member names? no. that's just the we can break your code, and you can't break ours!

Re: Last week for DConf 2015 submissions

2015-02-28 Thread David Nadlinger via Digitalmars-d
On Monday, 23 February 2015 at 14:50:42 UTC, David Nadlinger wrote: Expect two proposals from me by Friday too. I just simply didn't get around to writing them up in between all the science going on here yet. Okay, my last week was … interesting, but I hope I just managed to send one of the

[Issue 14230] [REG2.067b2] std.array.join misses the first element which is empty string

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14230 sinkuup...@gmail.com changed: What|Removed |Added CC||sinkuup...@gmail.com

[Issue 11792] Investigate migrating to a meta repo

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11792 Lionello Lunesu lio+bugzi...@lunesu.com changed: What|Removed |Added CC|

Re: Contradictory justification for status quo

2015-02-28 Thread bearophile via Digitalmars-d
Andrei Alexandrescu: I'm following with interest the discussion My Reference Safety System (DIP???). Right now it looks like a lot of work - a long opener, subsequent refinements, good discussion. It also seems just that - there's work but there's no edge to it yet; right now a DIP along

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 28 February 2015 at 10:30:55 UTC, Daniel Murphy wrote: Paolo Invernizzi wrote in message news:wkcsqtzjqybortkab...@forum.dlang.org... The druntime/phobos 2.067 are breaking every piece of software out there that relies on core.sync or concurrency.scheduler, vibe and tango

Re: DlangIDE

2015-02-28 Thread Vadim Lopatin via Digitalmars-d-announce
On Saturday, 28 February 2015 at 08:06:59 UTC, Rainer Schuetze wrote: On 26.02.2015 11:17, Vadim Lopatin wrote: On Wednesday, 18 February 2015 at 08:21:19 UTC, Rainer Schuetze wrote: On 17.02.2015 20:41, Vadim Lopatin wrote: It looks like we need to develop some universal debugger

[Issue 13010] Use variable range propagation (VRP) for static assert

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13010 --- Comment #8 from Lionello Lunesu lio+bugzi...@lunesu.com --- (In reply to David Nadlinger from comment #7) I'm not sure whether this is worth the added language complexity. Do you have an example for a compelling use case? Statically testing

[Issue 14231] New: findRoot fails with trivial bounds

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14231 Issue ID: 14231 Summary: findRoot fails with trivial bounds Product: D Version: D2 Hardware: x86 OS: All Status: NEW Severity: normal Priority: P1

[Issue 13010] Use variable range propagation (VRP) for static assert

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13010 --- Comment #13 from bearophile_h...@eml.cc --- (In reply to Lionello Lunesu from comment #12) ubyte u; //a lot of code static assert(u 9); I don't understand the point of this code. --

Re: Contradictory justification for status quo

2015-02-28 Thread via Digitalmars-d
On Friday, 27 February 2015 at 21:19:31 UTC, Andrei Alexandrescu wrote: On 2/27/15 1:07 PM, H. S. Teoh via Digitalmars-d wrote: What about this, if we're serious about @safe actually*guaranteeing* anything: after 2.067 is released, we reimplement @safe by making it reject every language

Re: DMD Zip for Mac OS X

2015-02-28 Thread Nicholas Wilson via Digitalmars-d-learn
On Saturday, 28 February 2015 at 06:45:58 UTC, Mike Parker wrote: I'm not a Mac user and I'm fairly clueless about it. The DMD zip for OS X contains one executable. I assume it's a 64-bit binary. Is that true? Most likely a disk image (.dmg). (en.wikipedia.org/wiki/Apple_Disk_Image)

Re: DMD Zip for Mac OS X

2015-02-28 Thread Ilya Yaroshenko via Digitalmars-d-learn
On Saturday, 28 February 2015 at 06:45:58 UTC, Mike Parker wrote: I'm not a Mac user and I'm fairly clueless about it. The DMD zip for OS X contains one executable. I assume it's a 64-bit binary. Is that true? Hi! Probably, yes. Anyway dmd compiles 64-bit binaries on OS X. Ilya

Re: Dgame revived

2015-02-28 Thread Namespace via Digitalmars-d-announce
Next step is Font, Text and Spritesheet. Then I'll inspect Clock, Power and MessageBox and in the end I'll inspect Audio. I think the most breaking changes will happen here, because I'll use this time SDL_Audio instead of OpenAL. Font, Text, Clock (renamed to StopWatch) and Power (renamed to

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Daniel Murphy via Digitalmars-d
Paolo Invernizzi wrote in message news:avsvjanhckbcjttao...@forum.dlang.org... The druntime/phobos 2.067 are breaking every piece of software out there that relies on core.sync or concurrency.scheduler, This is reality: both actual version of vibe.d and tango can't be compiled with 2.067,

Re: Dgame revived

2015-02-28 Thread Namespace via Digitalmars-d-announce
On Saturday, 28 February 2015 at 12:22:46 UTC, Gan wrote: On Saturday, 28 February 2015 at 11:02:31 UTC, Namespace wrote: Next step is Font, Text and Spritesheet. Then I'll inspect Clock, Power and MessageBox and in the end I'll inspect Audio. I think the most breaking changes will happen

[Issue 13729] [REG2.067a] One not detected case of not purity

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13729 --- Comment #3 from bearophile_h...@eml.cc --- Now this code: int x; void main() pure { static void foo() { x++; } foo(); } Gives: test.d(4,9): Error: pure function 'D main' cannot access mutable static data 'x' I think a

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 28 February 2015 at 11:03:14 UTC, Daniel Murphy wrote: Paolo Invernizzi wrote in message news:avsvjanhckbcjttao...@forum.dlang.org... The druntime/phobos 2.067 are breaking every piece of software out there that relies on core.sync or concurrency.scheduler, This is reality:

Re: DMD Zip for Mac OS X

2015-02-28 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-02-28 07:45, Mike Parker wrote: I'm not a Mac user and I'm fairly clueless about it. The DMD zip for OS X contains one executable. I assume it's a 64-bit binary. Is that true? Yes. Since DMD on OS X got support for 64bit DMD has only been shipped as 64bit. There's basically no Mac

[Issue 13010] Use variable range propagation (VRP) for static assert

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13010 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment

Re: DMD Zip for Mac OS X

2015-02-28 Thread Mike Parker via Digitalmars-d-learn
On 2/28/2015 10:36 PM, Jacob Carlborg wrote: On 2015-02-28 07:45, Mike Parker wrote: I'm not a Mac user and I'm fairly clueless about it. The DMD zip for OS X contains one executable. I assume it's a 64-bit binary. Is that true? Yes. Since DMD on OS X got support for 64bit DMD has only been

[Issue 13010] Use variable range propagation (VRP) for static assert

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13010 --- Comment #12 from Lionello Lunesu lio+bugzi...@lunesu.com --- (In reply to David Nadlinger from comment #10) (In reply to Lionello Lunesu from comment #8) (In reply to David Nadlinger from comment #7) I'm not sure whether this is worth the

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Daniel Murphy via Digitalmars-d
Paolo Invernizzi wrote in message news:wkcsqtzjqybortkab...@forum.dlang.org... The druntime/phobos 2.067 are breaking every piece of software out there that relies on core.sync or concurrency.scheduler, vibe and tango included. This is an exaggeration...

Re: Contradictory justification for status quo

2015-02-28 Thread bearophile via Digitalmars-d
Zach the Mystic: You can see exactly how D works by looking at how Kenji spends his time. For a while he's only been fixing ICEs and other little bugs which he knows for certain will be accepted. I agree that probably there are often better ways to use Kenji time for the development of D.

Re: My Reference Safety System (DIP???)

2015-02-28 Thread via Digitalmars-d
On Friday, 27 February 2015 at 23:37:42 UTC, deadalnix wrote: On Friday, 27 February 2015 at 23:18:24 UTC, Marc Schütz wrote: * When a scoped value is stored somewhere, it is then reachable through the destination. Therefore, assuming the source's scope is fixed, the destination's scope must

Re: My Reference Safety System (DIP???)

2015-02-28 Thread via Digitalmars-d
On Saturday, 28 February 2015 at 06:37:40 UTC, Zach the Mystic wrote: On Friday, 27 February 2015 at 23:18:24 UTC, Marc Schütz wrote: I think I have an inference algorithm that works. It can infer the required scope levels for local variables given the constraints of function parameters, and

Re: Dgame revived

2015-02-28 Thread Gan via Digitalmars-d-announce
On Saturday, 28 February 2015 at 11:02:31 UTC, Namespace wrote: Next step is Font, Text and Spritesheet. Then I'll inspect Clock, Power and MessageBox and in the end I'll inspect Audio. I think the most breaking changes will happen here, because I'll use this time SDL_Audio instead of OpenAL.

[Issue 13729] [REG2.067a] One not detected case of not purity

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13729 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/fe6729a9465c628e48712d9c3c7a722d4d100f1d Merge pull request #4447 from

[Issue 7067] std.random.RandomSample and RandomCover are poorly designed

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7067 --- Comment #20 from Joseph Rushton Wakeling joseph.wakel...@webdrake.net --- (In reply to Martin Nowak from comment #19) We had a talk about this during the 2nd D meetup in Berlin. One remaining question was how to deal with memory management when

Re: Dgame revived

2015-02-28 Thread Namespace via Digitalmars-d-announce
On Saturday, 28 February 2015 at 11:02:31 UTC, Namespace wrote: Next step is Font, Text and Spritesheet. Then I'll inspect Clock, Power and MessageBox and in the end I'll inspect Audio. I think the most breaking changes will happen here, because I'll use this time SDL_Audio instead of OpenAL.

Re: phobos regressions

2015-02-28 Thread Dicebot via Digitalmars-d
PGP signatures are as meaningful in NG as they are in e-mail. It is an identity proof.

Re: phobos regressions

2015-02-28 Thread Martin Nowak via Digitalmars-d
On 02/28/2015 11:35 PM, Walter Bright wrote: Can you please fix your newsreader submitter to not post these? They're fine for email, but out of place in the n.g. done

Re: phobos regressions

2015-02-28 Thread Walter Bright via Digitalmars-d
On 2/28/2015 2:54 PM, Dicebot wrote: PGP signatures are as meaningful in NG as they are in e-mail. It is an identity proof. 1. it's not relevant in a n.g. 2. it doubles the size of most messages (not insignificant when just this n.g. has 250,000 messages in it)

Re: Contradictory justification for status quo

2015-02-28 Thread Walter Bright via Digitalmars-d
On 2/28/2015 2:31 AM, bearophile wrote: Zach the Mystic: You can see exactly how D works by looking at how Kenji spends his time. For a while he's only been fixing ICEs and other little bugs which he knows for certain will be accepted. I agree that probably there are often better ways to use

[Issue 13390] [REG2.066] std.range.cycle ctor fails when empty input passed

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

[Issue 13390] [REG2.066] std.range.cycle ctor fails when empty input passed

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13390 --- Comment #11 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/568cd18b43fb2fe98a5eb62f06a00648450d7068 Fix Issue 13390 - Be

Re: Dgame revived

2015-02-28 Thread stewarth via Digitalmars-d-announce
On Saturday, 28 February 2015 at 22:52:47 UTC, Namespace wrote: On Saturday, 28 February 2015 at 11:02:31 UTC, Namespace wrote: Next step is Font, Text and Spritesheet. Then I'll inspect Clock, Power and MessageBox and in the end I'll inspect Audio. I think the most breaking changes will

[Issue 14232] New: redundant attribute 'const'

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14232 Issue ID: 14232 Summary: redundant attribute 'const' Product: D Version: unspecified Hardware: All OS: All Status: NEW Severity: regression Priority:

Re: Improving DIP74: functions borrow by default, retain only if needed

2015-02-28 Thread Zach the Mystic via Digitalmars-d
On Friday, 27 February 2015 at 21:21:08 UTC, Andrei Alexandrescu wrote: On 2/27/15 1:02 PM, Michel Fortin wrote: On 2015-02-27 20:34:08 +, Steven Schveighoffer said: void main() { C2 c2 = new C2; c2.c = new C; foo(c2.c, c2); } Still same question. The issue here is how do you

[Issue 13010] Use variable range propagation (VRP) for static assert

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13010 --- Comment #11 from bearophile_h...@eml.cc --- Even this doesn't compile, but it should: void main() { ubyte x; static assert(x = 0); } --

[Issue 13010] Use variable range propagation (VRP) for static assert

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13010 --- Comment #10 from David Nadlinger c...@klickverbot.at --- (In reply to Lionello Lunesu from comment #8) (In reply to David Nadlinger from comment #7) I'm not sure whether this is worth the added language complexity. Do you have an example for

Re: My Reference Safety System (DIP???)

2015-02-28 Thread via Digitalmars-d
I encountered an ugly problem. Actually, I had already run into it in my first proposal, but Steven Schveighoffer just posted about it here, which made me aware again: http://forum.dlang.org/thread/mcqcor$aa$1...@digitalmars.com#post-mcqk4s:246qb:241:40digitalmars.com class T {

Re: Contradictory justification for status quo

2015-02-28 Thread weaselcat via Digitalmars-d
On Saturday, 28 February 2015 at 21:11:54 UTC, Andrei Alexandrescu wrote: On 2/28/15 12:20 PM, Sativa wrote: I'm curious if project management(e.g., MS Project) is used to optimize and clarify goals for the D language? I've pushed for trello for a good while, it didn't catch up. -- Andrei

[Issue 14220] Bad codegen for optimized std.conv.text in combination with concatenation

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14220 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

Re: phobos regressions

2015-02-28 Thread Walter Bright via Digitalmars-d
On 2/28/2015 1:46 PM, Martin Nowak wrote: Quite a lot of the open regressions concern phobos. Maybe some people not reading the dmd-beta list may help with that?

Re: Is there such a thing?

2015-02-28 Thread Paulo Pinto via Digitalmars-d
On Friday, 27 February 2015 at 19:49:37 UTC, Taylor Hillegeist wrote: On Friday, 27 February 2015 at 07:26:06 UTC, Jacob Carlborg wrote: On 2015-02-26 20:53, Taylor Hillegeist wrote: So, In languages like .net they have dll's that contain not only bytecode but also the necessary headers to

Re: Contradictory justification for status quo

2015-02-28 Thread Andrei Alexandrescu via Digitalmars-d
On 2/28/15 12:20 PM, Sativa wrote: I'm curious if project management(e.g., MS Project) is used to optimize and clarify goals for the D language? I've pushed for trello for a good while, it didn't catch up. -- Andrei

DIP74 updated with new protocol for function calls

2015-02-28 Thread Andrei Alexandrescu via Digitalmars-d
Defines a significantly better function call protocol: http://wiki.dlang.org/DIP74 Andrei

Re: Berlin D Meetup Feb 2015

2015-02-28 Thread Martin Nowak via Digitalmars-d-announce
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/27/2015 03:04 PM, Ben Palmer wrote: Wrapping the RNGs can cause problems as structs are passed by value. This means that if the same RNG is used in subsequent calls to say randomCover then the same sequence of random numbers will be produced

Re: Contradictory justification for status quo

2015-02-28 Thread Walter Bright via Digitalmars-d
On 2/27/2015 2:42 AM, Dominikus Dittes Scherkl wrote: How can we make progress, Look at the changelog, there's tremendous progress.

phobos regressions

2015-02-28 Thread Martin Nowak via Digitalmars-d
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Quite a lot of the open regressions concern phobos. Maybe some people not reading the dmd-beta list may help with that?

[Issue 12422] [REG2.055] Templated nested function is inferred as `pure` even if it calls impure functions

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12422 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/128849de37d51ec6cd08860d1db08741bbd82046 Merge pull request #4441 from

Re: phobos regressions

2015-02-28 Thread Walter Bright via Digitalmars-d
On 2/28/2015 1:46 PM, Martin Nowak wrote: -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBAgAGBQJU8jc6AAoJELJzgRYSuxk5NIAP/3sqCuwjoW7BfityRPZZLzK3 vc6+ye8D7/K40rOvhGng/96UqtfHD7AWmV3SCRde01TEA6OpOHc7pzMAwLcsA/qM z7nJ1C905zUos4QpkpaF15Ujbkd7f0WoOQl25pkzJjiurJVmPe3SMOwkVdBqly8/

Re: My Reference Safety System (DIP???)

2015-02-28 Thread via Digitalmars-d
On Saturday, 28 February 2015 at 11:12:23 UTC, Marc Schütz wrote: On Friday, 27 February 2015 at 23:37:42 UTC, deadalnix wrote: You don't cover the lifetime of the address of operation, and I'm not how this is supposed to work in your proposal. It was in the examples, but it was wrong. I've

[Issue 14230] [REG2.067b2] std.array.join misses the first element which is empty string

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14230 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/43e56d57a51ef6a3240a459d3e6068fc4a9292a5 Fix Issue 14230 -

[Issue 14230] [REG2.067b2] std.array.join misses the first element which is empty string

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

[Issue 14230] [REG2.067b2] std.array.join misses the first element which is empty string

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14230 --- Comment #2 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/b4fa59bd736c30c183039044fe48d7477a1cc615 Merge pull request

[Issue 14220] Bad codegen for optimized std.conv.text in combination with concatenation

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14220 --- Comment #5 from Walter Bright bugzi...@digitalmars.com --- Can repro on Win64 with the switches: -m64 -O -release --

Re: Is there such a thing?

2015-02-28 Thread Paulo Pinto via Digitalmars-d
On Saturday, 28 February 2015 at 17:24:57 UTC, Paulo Pinto wrote: On Friday, 27 February 2015 at 19:49:37 UTC, Taylor Hillegeist wrote: On Friday, 27 February 2015 at 07:26:06 UTC, Jacob Carlborg wrote: On 2015-02-26 20:53, Taylor Hillegeist wrote: So, In languages like .net they have dll's

[Issue 7067] std.random.RandomSample and RandomCover are poorly designed

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7067 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment #19 from

Re: A Refcounted Array Type

2015-02-28 Thread via Digitalmars-d
On Saturday, 28 February 2015 at 04:27:36 UTC, weaselcat wrote: On Saturday, 28 February 2015 at 04:18:38 UTC, ketmar wrote: On Fri, 27 Feb 2015 20:51:54 +, deadalnix wrote: On Friday, 27 February 2015 at 04:13:03 UTC, Steven Schveighoffer wrote: In that case, you shouldn't be subject to

Re: Contradictory justification for status quo

2015-02-28 Thread Andrei Alexandrescu via Digitalmars-d
On 2/28/15 7:53 AM, Marc =?UTF-8?B?U2Now7x0eiI=?= schue...@gmx.net wrote: On Friday, 27 February 2015 at 21:19:31 UTC, Andrei Alexandrescu wrote: On 2/27/15 1:07 PM, H. S. Teoh via Digitalmars-d wrote: What about this, if we're serious about @safe actually*guaranteeing* anything: after 2.067

Re: Contradictory justification for status quo

2015-02-28 Thread via Digitalmars-d
On Saturday, 28 February 2015 at 10:40:32 UTC, bearophile wrote: Andrei Alexandrescu: I'm following with interest the discussion My Reference Safety System (DIP???). Right now it looks like a lot of work - a long opener, subsequent refinements, good discussion. It also seems just that -

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Jacob Carlborg via Digitalmars-d
On 2015-02-27 21:04, Andrei Alexandrescu wrote: I'm fine with breaking code of people who happen to use the names opAddRef and opRelease. -- Andrei I don't think so because it's so easy to making it a non-breaking change, i.e. require a compiler recognized UDA to enable the functionality.

Re: Is there such a thing?

2015-02-28 Thread Dicebot via Digitalmars-d
On Friday, 27 February 2015 at 19:49:37 UTC, Taylor Hillegeist wrote: I just think its a shame that all over the place people are compiling code in different programming languages, and although all the .o files are compatible with each other there isn't a standard cross language way of

Re: Contradictory justification for status quo

2015-02-28 Thread Walter Bright via Digitalmars-d
On 2/27/2015 7:33 AM, H. S. Teoh via Digitalmars-d wrote: @safe has some pretty nasty holes right now... like: https://issues.dlang.org/show_bug.cgi?id=5270 https://issues.dlang.org/show_bug.cgi?id=8838 https://issues.dlang.org/show_bug.cgi?id=12822

Re: Contradictory justification for status quo

2015-02-28 Thread Sativa via Digitalmars-d
On Friday, 27 February 2015 at 02:58:31 UTC, Andrei Alexandrescu wrote: On 2/26/15 6:17 PM, H. S. Teoh via Digitalmars-d wrote: On Thu, Feb 26, 2015 at 05:57:53PM -0800, Andrei Alexandrescu via Digitalmars-d wrote: On 2/26/15 5:48 PM, Zach the Mystic wrote: I sometimes feel so bad for Kenji,

Re: LLVM 3.6 released - LDC master branch/0.15.1 is ready to use it!

2015-02-28 Thread Dan Olson via Digitalmars-d-announce
Kai Nacke k...@redstar.de writes: Also note that LDC is mentioned in the release notes as one of the projects who are already supporting LLVM 3.6. Just recompile LDC using master branch from GitHub or from the 0.15.1 source. This is the 6th time that LDC and D are mentioned in the LLVM

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Jacob Carlborg via Digitalmars-d
On 2015-02-28 10:41, Paolo Invernizzi wrote: I agree, as, well, this is starting to look pretty grotesque... The druntime/phobos 2.067 are breaking every piece of software out there that relies on core.sync or concurrency.scheduler, vibe and tango included. Add DWT to that list. -- /Jacob

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Jacob Carlborg via Digitalmars-d
On 2015-02-28 06:57, deadalnix wrote: I think this is justified to break the code here, but I share the irritation in front of the inconsistency. I don't think so because it's so easy to making it a non-breaking change, i.e. require a compiler recognized UDA to enable the functionality. --

[Issue 14232] redundant attribute 'const'

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14232 --- Comment #1 from Kenji Hara k.hara...@gmail.com --- The following program already reported same error in 2.066: struct Bug { const const void bug() { } } test.d(3): Error: redundant attribute 'const' --

Re: phobos regressions

2015-02-28 Thread Walter Bright via Digitalmars-d
On 2/28/2015 3:01 PM, Martin Nowak wrote: done Thanks!

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Andrei Alexandrescu via Digitalmars-d
On 2/28/15 5:43 PM, Manu via Digitalmars-d wrote: On 28 February 2015 at 02:00, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 2/27/15 7:52 AM, Manu via Digitalmars-d wrote: Well this is the case of the highest value to me, and DIP74 offers nothing? For structs

Re: Making RCSlice and DIP74 work with const and immutable

2015-02-28 Thread Manu via Digitalmars-d
On 1 March 2015 at 12:22, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 2/28/15 5:57 PM, Manu via Digitalmars-d wrote: Perhaps an operator that may be implemented to return a mutable metadata pointer for objects? From an algebraic point of view, it should be

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Andrei Alexandrescu via Digitalmars-d
On 2/28/15 6:49 PM, Manu via Digitalmars-d wrote: On 1 March 2015 at 12:21, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 2/28/15 5:43 PM, Manu via Digitalmars-d wrote: I'd like to see a struct with RC operators have implicit calls generated (and elided) for

Re: LLVM 3.6 released - LDC master branch/0.15.1 is ready to use it!

2015-02-28 Thread Dan Olson via Digitalmars-d-announce
Dan Olson zans.is.for.c...@yahoo.com writes: Kai Nacke k...@redstar.de writes: Also note that LDC is mentioned in the release notes as one of the projects who are already supporting LLVM 3.6. Just recompile LDC using master branch from GitHub or from the 0.15.1 source. This is the 6th time

[Issue 14232] redundant attribute 'const'

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14232 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added CC||ket...@ketmar.no-ip.org

[Issue 14062] Not pure std.variant.Variant ctor

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14062 --- Comment #3 from Kenji Hara k.hara...@gmail.com --- (In reply to bearophile_hugs from comment #0) test.d(3): Error: pure function 'D main' cannot call impure function 'std.variant.VariantN!20u.VariantN.__ctor!int.this' test.d(3): Error: pure

Re: My Reference Safety System (DIP???)

2015-02-28 Thread Zach the Mystic via Digitalmars-d
On Saturday, 28 February 2015 at 20:49:22 UTC, Marc Schütz wrote: Any other ideas and opinions? I'm a little busy. It'll take me some time. There's a lot going on in recent days with all these ideas.

Re: DIP74 updated with new protocol for function calls

2015-02-28 Thread Zach the Mystic via Digitalmars-d
On Saturday, 28 February 2015 at 21:12:54 UTC, Andrei Alexandrescu wrote: Defines a significantly better function call protocol: http://wiki.dlang.org/DIP74 Andrei This is obviously much better, Andrei. I think an alternative solution (I know -- another idea -- against my own first idea!)

[Issue 13612] Wrong 'this' variable accessed in recursive ctfe member function

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13612 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from

Re: Making RCSlice and DIP74 work with const and immutable

2015-02-28 Thread Manu via Digitalmars-d
On 1 March 2015 at 11:40, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: Tracing garbage collection can afford the luxury of e.g. mutating data that was immutable during its lifetime. Reference counting needs to make minute mutations to data while references to that

Re: Making RCSlice and DIP74 work with const and immutable

2015-02-28 Thread Andrei Alexandrescu via Digitalmars-d
On 2/28/15 6:33 PM, Manu via Digitalmars-d wrote: one of the biggest recurring complaints relating to the D type system That didn't get talked about in I don't remember. -- Andrei

[Issue 14056] std.array.assocArray with a const value

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14056 --- Comment #5 from Kenji Hara k.hara...@gmail.com --- (In reply to Martin Nowak from comment #3) (In reply to Ulrich Küttler from comment #1) This seems to be a conscious choice, the function has been restricted to prevent a compile failure on

Re: My Reference Safety System (DIP???)

2015-02-28 Thread Zach the Mystic via Digitalmars-d
On Saturday, 28 February 2015 at 20:49:22 UTC, Marc Schütz wrote: I encountered an ugly problem. Actually, I had already run into it in my first proposal, but Steven Schveighoffer just posted about it here, which made me aware again:

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Manu via Digitalmars-d
On 28 February 2015 at 02:02, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 2/27/15 7:52 AM, Manu via Digitalmars-d wrote: Can I call opAddRef/opRelease from within the postblit/destructor manually and expect the compiler to elide calls correctly? That doesn't

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Andrei Alexandrescu via Digitalmars-d
On 2/28/15 5:43 PM, Manu via Digitalmars-d wrote: I'd like to see a struct with RC operators have implicit calls generated (and elided) for exactly the same set of cases as classes, in terms of construction/destruction/assignment/passing to/from functions. The short answer is that probably

Re: Making RCSlice and DIP74 work with const and immutable

2015-02-28 Thread Andrei Alexandrescu via Digitalmars-d
On 2/28/15 5:57 PM, Manu via Digitalmars-d wrote: Perhaps an operator that may be implemented to return a mutable metadata pointer for objects? From an algebraic point of view, it should be defined that mutating metadata will have no effect on the actual object. But how would custom data be

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Manu via Digitalmars-d
On 1 March 2015 at 12:51, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 2/28/15 6:49 PM, Manu via Digitalmars-d wrote: On 1 March 2015 at 12:21, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 2/28/15 5:43 PM, Manu via Digitalmars-d

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Manu via Digitalmars-d
On 1 March 2015 at 13:13, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 2/28/15 7:01 PM, Manu via Digitalmars-d wrote: On 1 March 2015 at 12:51, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 2/28/15 6:49 PM, Manu via Digitalmars-d

[Issue 14232] redundant attribute 'const'

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14232 --- Comment #5 from Ketmar Dark ket...@ketmar.no-ip.org --- this effectively turns compiler code to unmaintainable spaghetti. and i believe that this is the perfect application for lint-like tool (yes, devs can finally bless dfix). with dfix blessed

Re: Making RCSlice and DIP74 work with const and immutable

2015-02-28 Thread H. S. Teoh via Digitalmars-d
On Sun, Mar 01, 2015 at 12:53:24PM +1000, Manu via Digitalmars-d wrote: On 1 March 2015 at 12:48, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 2/28/15 6:33 PM, Manu via Digitalmars-d wrote: one of the biggest recurring complaints relating to the D type

[Issue 14218] [REG2.067a] casting null to integer type causes error message

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14218 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/18f4c442e53e30b44a6c599e99f39eacc27ecef1 Merge pull request #4446 from

Making RCSlice and DIP74 work with const and immutable

2015-02-28 Thread Andrei Alexandrescu via Digitalmars-d
Tracing garbage collection can afford the luxury of e.g. mutating data that was immutable during its lifetime. Reference counting needs to make minute mutations to data while references to that data are created. In fact, it's not mutation of the useful data, the payload of a data structure;

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Manu via Digitalmars-d
On 28 February 2015 at 02:00, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 2/27/15 7:52 AM, Manu via Digitalmars-d wrote: Well this is the case of the highest value to me, and DIP74 offers nothing? For structs you use postblit and destructors. -- Andrei That

[Issue 14232] redundant attribute 'const'

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14232 briancsch...@gmail.com changed: What|Removed |Added CC||briancsch...@gmail.com --- Comment

[Issue 13612] Wrong 'this' variable accessed in recursive ctfe member function

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13612 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a91d0b3166229de8e243381c00650e09ad85f206 fix Issue 13612 - Wrong

Re: Making RCSlice and DIP74 work with const and immutable

2015-02-28 Thread ted via Digitalmars-d
Andrei Alexandrescu wrote: We have a few candidates for solutions, but wanted to open with a good discussion first. So, how do you envision a way to define and access mutable metadata for objects (including immutable ones)? Andrei It seems to me that (in the particular case of _this_

Re: DIP74: Reference Counted Class Objects

2015-02-28 Thread Andrei Alexandrescu via Digitalmars-d
On 2/28/15 7:30 PM, Manu via Digitalmars-d wrote: On 1 March 2015 at 13:13, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: Inserting calls to opAddRef and opRelease, and the rules that allow their elision, follow quite closely (albeit not 100% identically) the rules

  1   2   >