Re: CTFE Status 2

2017-07-12 Thread Stefan Koch via Digitalmars-d
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote: [ ... ] Hey Guys I just fixed an ABI issue concerning slices and structs. This issue took 2.5 weeks to find and fix. So let me describe what was going on. As you may know newCTFE defines it's own ABI (since it is a platform in

Re: DIP 1010--Static foreach--Formal Review

2017-07-12 Thread Timon Gehr via Digitalmars-d
On 12.07.2017 01:18, Steven Schveighoffer wrote: On 7/10/17 4:53 AM, Mike Parker wrote: As promised, since there has been zero feedback on DIP 1010, "Static foreach", in either the Draft or Preliminary review rounds, I'm going to skip the normal two-week feedback cycle on the Formal review. If

Re: proposed @noreturn attribute

2017-07-12 Thread Timon Gehr via Digitalmars-d
On 12.07.2017 03:50, Andrei Alexandrescu wrote: On 7/11/17 4:29 AM, Timon Gehr wrote: On 10.07.2017 18:23, Meta wrote: ... problems with stuff like typeof(null)* etc. because for the most part it's just a regular type, unlike Bottom. Bottom is just a regular type. Wouldn't the fact that it

Re: proposed @noreturn attribute

2017-07-12 Thread Timon Gehr via Digitalmars-d
On 11.07.2017 19:27, Meta wrote: On Tuesday, 11 July 2017 at 08:29:12 UTC, Timon Gehr wrote: On 10.07.2017 18:23, Meta wrote: ... problems with stuff like typeof(null)* etc. because for the most part it's just a regular type, unlike Bottom. Bottom is just a regular type. It's a regular typ

Re: proposed @noreturn attribute

2017-07-12 Thread Timon Gehr via Digitalmars-d
On 09.07.2017 23:45, Meta wrote: ... Another case that we should probably just statically disallow: ... > This obviously doesn't make any sense anyway ... > I don't see a reason for us to ever need to do that Sorry, but this thinking has no place in type system design. This is precisely how you

Re: version=D_16

2017-07-12 Thread Martin Tschierschke via Digitalmars-d
On Monday, 10 July 2017 at 23:01:50 UTC, Luís Marques wrote: On Monday, 10 July 2017 at 22:39:22 UTC, Petar Kirov [ZombineDev] wrote: The problem Walter pointed to is that due to integer promotion, arithmetic operands of types smaller than int are converted to int, hence even if you use bytes a

Re: CTFE Status 2

2017-07-12 Thread Kagamin via Digitalmars-d
On Wednesday, 12 July 2017 at 07:58:30 UTC, Stefan Koch wrote: Whereas A struct is always stored __packed__ and aligned to 4 byte boundaries struct S // size: 20 { ubyte m1; // offset: 0 ulong m2; // offset: 4 ubyte m3; // offset: 12 ubyte m4; // offset: 16 } Do you plan to keep it li

Re: DIP 1010--Static foreach--Formal Review

2017-07-12 Thread John Colvin via Digitalmars-d
On Tuesday, 11 July 2017 at 23:50:26 UTC, Steven Schveighoffer wrote: On 7/11/17 7:21 PM, H. S. Teoh via Digitalmars-d wrote: On Tue, Jul 11, 2017 at 07:18:51PM -0400, Steven Schveighoffer via Digitalmars-d wrote: [...] 3. The only controversial part I see is that `break` doesn't break from th

Re: CTFE Status 2

2017-07-12 Thread Martin Tschierschke via Digitalmars-d
On Wednesday, 12 July 2017 at 07:58:30 UTC, Stefan Koch wrote: On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote: [ ... ] long story short: This is now fixed. and ABI bugs are HELL! Cheers, Stefan As being a newbie, could you please point to a post describing what you are doin

Re: CTFE Status 2

2017-07-12 Thread Stefan Koch via Digitalmars-d
On Wednesday, 12 July 2017 at 09:46:39 UTC, Kagamin wrote: On Wednesday, 12 July 2017 at 07:58:30 UTC, Stefan Koch wrote: Whereas A struct is always stored __packed__ and aligned to 4 byte boundaries struct S // size: 20 { ubyte m1; // offset: 0 ulong m2; // offset: 4 ubyte m3; // offset

Re: CTFE Status 2

2017-07-12 Thread Stefan Koch via Digitalmars-d
On Wednesday, 12 July 2017 at 09:57:21 UTC, Martin Tschierschke wrote: On Wednesday, 12 July 2017 at 07:58:30 UTC, Stefan Koch wrote: On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote: [ ... ] long story short: This is now fixed. and ABI bugs are HELL! Cheers, Stefan As being

Re: DIP 1010--Static foreach--Formal Review

2017-07-12 Thread Timon Gehr via Digitalmars-d
On 11.07.2017 09:50, Daniel N wrote: On Monday, 10 July 2017 at 08:53:42 UTC, Mike Parker wrote: As promised, since there has been zero feedback on DIP 1010, "Static foreach", in either the Draft or Preliminary review rounds, I'm going to skip the normal two-week feedback cycle on the Formal re

Re: DIP 1010--Static foreach--Formal Review

2017-07-12 Thread Steven Schveighoffer via Digitalmars-d
On 7/12/17 4:23 AM, Timon Gehr wrote: On 12.07.2017 01:18, Steven Schveighoffer wrote: On 7/10/17 4:53 AM, Mike Parker wrote: As promised, since there has been zero feedback on DIP 1010, "Static foreach", in either the Draft or Preliminary review rounds, I'm going to skip the normal two-week f

Re: version=D_16

2017-07-12 Thread Dominikus Dittes Scherkl via Digitalmars-d
On Wednesday, 12 July 2017 at 09:38:13 UTC, Martin Tschierschke wrote: On Monday, 10 July 2017 at 23:01:50 UTC, Luís Marques wrote: On Monday, 10 July 2017 at 22:39:22 UTC, Petar Kirov [ZombineDev] wrote: The problem Walter pointed to is that due to integer Ah, that makes sense. Thanks for clar

Re: version=D_16

2017-07-12 Thread Adrian Matoga via Digitalmars-d
On Monday, 10 July 2017 at 21:30:44 UTC, Walter Bright wrote: On 7/10/2017 1:52 PM, Luís Marques wrote: On Monday, 10 July 2017 at 20:19:46 UTC, Walter Bright wrote: On 7/10/2017 12:46 PM, Luís Marques wrote: I'm curious how that implementation addresses the issues I brought up: I'm not real

Re: DIP 1010--Static foreach--Formal Review

2017-07-12 Thread Adrian Matoga via Digitalmars-d
On Wednesday, 12 July 2017 at 10:57:37 UTC, Steven Schveighoffer wrote: Perhaps the deprecation path should include a removal of straight foreach over a tuple working (use static foreach explicitly). This would make the distinction even more obvious. I'd also vote for gradual removal of foreac

Re: D Milestones

2017-07-12 Thread Martin Tschierschke via Digitalmars-d
On Monday, 26 June 2017 at 18:16:12 UTC, Patrick Schluter wrote: On Monday, 26 June 2017 at 12:58:00 UTC, Andrea Fontana wrote: On Monday, 26 June 2017 at 10:14:08 UTC, Martin Tschierschke [...] So the first version 0.0.1 of this in the Wiki, please help to update! https://wiki.dlang.org/Lan

Re: D Milestones

2017-07-12 Thread Nicholas Wilson via Digitalmars-d
On Wednesday, 12 July 2017 at 12:40:21 UTC, Martin Tschierschke wrote: On Monday, 26 June 2017 at 18:16:12 UTC, Patrick Schluter wrote: On Monday, 26 June 2017 at 12:58:00 UTC, Andrea Fontana wrote: On Monday, 26 June 2017 at 10:14:08 UTC, Martin Tschierschke [...] So the first version 0.0.1 o

Re: D Milestones

2017-07-12 Thread Nemanja Boric via Digitalmars-d
On Wednesday, 12 July 2017 at 13:11:47 UTC, Nicholas Wilson wrote: On Wednesday, 12 July 2017 at 12:40:21 UTC, Martin Tschierschke wrote: On Monday, 26 June 2017 at 18:16:12 UTC, Patrick Schluter wrote: On Monday, 26 June 2017 at 12:58:00 UTC, Andrea Fontana wrote: On Monday, 26 June 2017 at 1

Re: D Milestones

2017-07-12 Thread jmh530 via Digitalmars-d
On Wednesday, 12 July 2017 at 12:40:21 UTC, Martin Tschierschke wrote: On Monday, 26 June 2017 at 18:16:12 UTC, Patrick Schluter wrote: On Monday, 26 June 2017 at 12:58:00 UTC, Andrea Fontana wrote: On Monday, 26 June 2017 at 10:14:08 UTC, Martin Tschierschke [...] So the first version 0.0.1 o

Re: proposed @noreturn attribute

2017-07-12 Thread Meta via Digitalmars-d
On Wednesday, 12 July 2017 at 09:32:32 UTC, Timon Gehr wrote: On 09.07.2017 23:45, Meta wrote: ... Another case that we should probably just statically disallow: ... > This obviously doesn't make any sense anyway ... > I don't see a reason for us to ever need to do that Sorry, but this thinking

Re: D Milestones

2017-07-12 Thread Martin Tschierschke via Digitalmars-d
On Wednesday, 12 July 2017 at 13:11:47 UTC, Nicholas Wilson wrote: On Wednesday, 12 July 2017 at 12:40:21 UTC, Martin Tschierschke wrote: On Monday, 26 June 2017 at 18:16:12 UTC, Patrick Schluter wrote: On Monday, 26 June 2017 at 12:58:00 UTC, Andrea Fontana wrote: On Monday, 26 June 2017 at 1

Re: D Milestones

2017-07-12 Thread Martin Tschierschke via Digitalmars-d
On Wednesday, 12 July 2017 at 13:18:54 UTC, jmh530 wrote: On Wednesday, 12 July 2017 at 12:40:21 UTC, Martin Tschierschke wrote: On Monday, 26 June 2017 at 18:16:12 UTC, Patrick Schluter wrote: On Monday, 26 June 2017 at 12:58:00 UTC, Andrea Fontana wrote: On Monday, 26 June 2017 at 10:14:08 U

Re: D Milestones

2017-07-12 Thread rikki cattermole via Digitalmars-d
On 12/07/2017 3:14 PM, Martin Tschierschke wrote: Please post events (even without date) you think are important. First release of your IDE/Plugin or whatever made you more comfortable using D. Since when is the IRC channel in use? Since like 2003 when it was registered on Freenode.

Re: proposed @noreturn attribute

2017-07-12 Thread Andrei Alexandrescu via Digitalmars-d
On 07/12/2017 05:32 AM, Timon Gehr wrote: On 09.07.2017 23:45, Meta wrote: ... Another case that we should probably just statically disallow: ... > This obviously doesn't make any sense anyway ... > I don't see a reason for us to ever need to do that Sorry, but this thinking has no place in type

Re: D Milestones

2017-07-12 Thread Martin Tschierschke via Digitalmars-d
On Wednesday, 12 July 2017 at 14:16:48 UTC, rikki cattermole wrote: On 12/07/2017 3:14 PM, Martin Tschierschke wrote: Please post events (even without date) you think are important. First release of your IDE/Plugin or whatever made you more comfortable using D. Since when is the IRC channel

Re: D Milestones

2017-07-12 Thread jmh530 via Digitalmars-d
On Wednesday, 12 July 2017 at 14:14:02 UTC, Martin Tschierschke wrote: Please post events (even without date) you think are important. I see a lot of changes from 2.020 to 2.031. That period looks like there are a lot of things going on.

Re: Error on negating unsigned types

2017-07-12 Thread Andrei Alexandrescu via Digitalmars-d
On 07/11/2017 03:46 PM, Johan Engelen wrote: So, adding the error may be nice, but it would make generic code a little more verbose. Ideas? People OK with that? A compelling argument is that the rule exposed two bugs in Phobos. -- Andrei

Re: .NET Library In D

2017-07-12 Thread 鲜卑拓跋枫 via Digitalmars-d
On Monday, 10 July 2017 at 21:36:05 UTC, FoxyBrown wrote: I was able to get my C# to D convert to convert about 25% of the .net library v4.6 [...] Would you please publish your C# to D converter? I really need it!

Re: Slides share: DMesos - Not only a re-implementation of Mesos

2017-07-12 Thread 鲜卑拓跋枫 via Digitalmars-d
On Monday, 10 July 2017 at 20:45:01 UTC, Andy Smith wrote: On Monday, 10 July 2017 at 17:29:01 UTC, 鲜卑拓跋枫 wrote: Dear all, I am a D-language amateur from China, and just want to share you with a slides from me that post on MesosCon Asia 2017(Beijing): https://mesosconasia2017.sched.com/

Re: Slides share: DMesos - Not only a re-implementation of Mesos

2017-07-12 Thread 鲜卑拓跋枫 via Digitalmars-d
On Monday, 10 July 2017 at 17:29:01 UTC, 鲜卑拓跋枫 wrote: Dear all, I am a D-language amateur from China, and just want to share you with a slides from me that post on MesosCon Asia 2017(Beijing): https://mesosconasia2017.sched.com/event/AZc6/dmesos-not-only-a-re-implementation-of-mesos-ce-f

Re: dmd and Archlinux

2017-07-12 Thread Marco Leise via Digitalmars-d
Am Tue, 11 Jul 2017 06:21:33 -0600 schrieb Jonathan M Davis via Digitalmars-d : > On Tuesday, July 11, 2017 12:00:51 PM MDT Seb via Digitalmars-d wrote: > > @mleise: OP is using the testing repos where the PIE enforcement > > already landed [1], but libphobos.a isn't built with -fPIC on > > Arch y

Re: CTFE Status 2

2017-07-12 Thread Stefan Koch via Digitalmars-d
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote: [ ... ] Another ABI issue just pooped on my Wednesday. this time it manifests while doing concatenation inside a template the test failing is (test/runnable/template8.d) This is again hard to debug because I have to piece toget

Re: Error on negating unsigned types

2017-07-12 Thread Steven Schveighoffer via Digitalmars-d
On 7/12/17 11:00 AM, Andrei Alexandrescu wrote: On 07/11/2017 03:46 PM, Johan Engelen wrote: So, adding the error may be nice, but it would make generic code a little more verbose. Ideas? People OK with that? A compelling argument is that the rule exposed two bugs in Phobos. -- Andrei Th

Re: CTFE Status 2

2017-07-12 Thread watcher via Digitalmars-d
On Wednesday, 12 July 2017 at 18:57:12 UTC, Stefan Koch wrote: On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote: [ ... ] Another ABI issue just pooped on my Wednesday. this time it manifests while doing concatenation inside a template the test failing is (test/runnable/templ

Re: Error on negating unsigned types

2017-07-12 Thread Johan Engelen via Digitalmars-d
On Wednesday, 12 July 2017 at 20:12:03 UTC, Steven Schveighoffer wrote: ... Which means this may cause a bunch of nuisance errors. It's a trade-off between nuisance in some cases (the Phobos ones can be solved with val = abs(val), or with static if), and possibly catching bugs in other cases.

Re: Error on negating unsigned types

2017-07-12 Thread Walter Bright via Digitalmars-d
On 7/11/2017 12:46 PM, Johan Engelen wrote: So, adding the error may be nice, but it would make generic code a little more verbose. The particular issue you were having appears to be a bug in the compiler (I already filed it as a bug report). Being a bug, we need more evidence that adding an

Re: CTFE Status 2

2017-07-12 Thread Stefan Koch via Digitalmars-d
On Wednesday, 12 July 2017 at 21:05:28 UTC, watcher wrote: stop advertising yourself and polluting this thread. seek help - no down-payments in Germany!! I am not sure what you mean ... I assume it's a joke ? If you are indeed offering help, you can reproduce this by checking out https://gi

Re: CTFE Status 2

2017-07-12 Thread H. S. Teoh via Digitalmars-d
On Thu, Jul 13, 2017 at 01:23:53AM +, Stefan Koch via Digitalmars-d wrote: > On Wednesday, 12 July 2017 at 21:05:28 UTC, watcher wrote: > > > > stop advertising yourself and polluting this thread. > > seek help - no down-payments in Germany!! > > I am not sure what you mean ... > I assume it'

Re: Slides share: DMesos - Not only a re-implementation of Mesos

2017-07-12 Thread Patrick Schluter via Digitalmars-d
On Monday, 10 July 2017 at 18:45:34 UTC, Nick Sabalausky (Abscissa) wrote: On 07/10/2017 02:16 PM, Joakim wrote: I'm actually skeptical of cloud- I think mobile p2p will eat most of the cloud- I've been REALLY hoping p2p will eat...cloud^H^H^H^H^Hcentralized internet services[1], but if I we