Re: First big PITA in reallife D project

2010-10-22 Thread Sean Kelly
Kagamin Wrote: > Andrei Alexandrescu Wrote: > > > Terminating threads has always been iffy in all languages that use > > native threads. I've discussed with Sean a couple of times about ways to > > define a little protocol and API for orderly thread termination. We need > > something like a ca

Re: First big PITA in reallife D project

2010-10-19 Thread Fawzi Mohamed
On 19-ott-10, at 19:17, Andrei Alexandrescu wrote: On 10/19/10 11:07 CDT, FeepingCreature wrote: On 19.10.2010 13:33, Stephan wrote: BUT it wont work like that. AFTER i stopped all other threads some strange behavior of druntime makes every creation of an InternetAddress instance (internally

Re: First big PITA in reallife D project

2010-10-19 Thread Andrei Alexandrescu
On 10/19/10 13:59 CDT, Kagamin wrote: Andrei Alexandrescu Wrote: Terminating threads has always been iffy in all languages that use native threads. I've discussed with Sean a couple of times about ways to define a little protocol and API for orderly thread termination. We need something like a

Re: First big PITA in reallife D project

2010-10-19 Thread Kagamin
Andrei Alexandrescu Wrote: > Terminating threads has always been iffy in all languages that use > native threads. I've discussed with Sean a couple of times about ways to > define a little protocol and API for orderly thread termination. We need > something like a callback mechanism - atShutdow

Re: First big PITA in reallife D project

2010-10-19 Thread Mike Chaten
I doubt a new version of dmd will be out until November at the earliest, as there is no dmd beta out at the moment. In the mean time, you should be able to download the latest source code of phobos at http://www.dsource.org/projects/phobos/changeset/head/trunk?old_path=%2F&format=zip and build the

Re: First big PITA in reallife D project

2010-10-19 Thread Walter Bright
Steven Schveighoffer wrote: On Tue, 19 Oct 2010 08:35:09 -0400, Stephan wrote: Thanks for the reply and that you gonna take a look. I added the relation of bug http://d.puremagic.com/issues/show_bug.cgi?id=4344 to the bug aswell because it reallys seems to have the same underlying root. I

Re: First big PITA in reallife D project

2010-10-19 Thread Andrei Alexandrescu
On 10/19/10 11:07 CDT, FeepingCreature wrote: On 19.10.2010 13:33, Stephan wrote: BUT it wont work like that. AFTER i stopped all other threads some strange behavior of druntime makes every creation of an InternetAddress instance (internally trying to resolve host) impossible (throws an exceptio

Re: First big PITA in reallife D project

2010-10-19 Thread Steven Schveighoffer
On Tue, 19 Oct 2010 12:07:04 -0400, FeepingCreature wrote: On 19.10.2010 13:33, Stephan wrote: BUT it wont work like that. AFTER i stopped all other threads some strange behavior of druntime makes every creation of an InternetAddress instance (internally trying to resolve host) impossible (t

Re: First big PITA in reallife D project

2010-10-19 Thread FeepingCreature
On 19.10.2010 13:33, Stephan wrote: > BUT it wont work like that. AFTER i stopped all other threads some > strange behavior of druntime makes every creation of an InternetAddress > instance (internally trying to resolve host) impossible (throws an > exception). Additionally even if the Internet Add

Re: First big PITA in reallife D project

2010-10-19 Thread dennis luehring
Am 19.10.2010 17:04, schrieb Kagamin: Stephan Wrote: Hey guys I wanted to discuss my first major depressing experience with D in a reallife project. First off here is the according bug report : http://d.puremagic.com/issues/show_bug.cgi?id=4951 I have to mention that it was by far not th

Re: First big PITA in reallife D project

2010-10-19 Thread Kagamin
Stephan Wrote: > Hey guys I wanted to discuss my first major depressing experience with D > in a reallife project. > > First off here is the according bug report : > http://d.puremagic.com/issues/show_bug.cgi?id=4951 > > I have to mention that it was by far not the first bug i encountered in

Re: First big PITA in reallife D project

2010-10-19 Thread Masahiro Nakagawa
On Tue, 19 Oct 2010 23:02:31 +0900, Stephan wrote: On 19.10.2010 15:27, Steven Schveighoffer wrote: On Tue, 19 Oct 2010 08:35:09 -0400, Stephan wrote: Thanks for the reply and that you gonna take a look. I added the relation of bug http://d.puremagic.com/issues/show_bug.cgi?id=4344 to the b

Re: First big PITA in reallife D project

2010-10-19 Thread Stephan
On 19.10.2010 15:27, Steven Schveighoffer wrote: On Tue, 19 Oct 2010 08:35:09 -0400, Stephan wrote: Thanks for the reply and that you gonna take a look. I added the relation of bug http://d.puremagic.com/issues/show_bug.cgi?id=4344 to the bug aswell because it reallys seems to have the same un

Re: First big PITA in reallife D project

2010-10-19 Thread Steven Schveighoffer
On Tue, 19 Oct 2010 08:35:09 -0400, Stephan wrote: Thanks for the reply and that you gonna take a look. I added the relation of bug http://d.puremagic.com/issues/show_bug.cgi?id=4344 to the bug aswell because it reallys seems to have the same underlying root. I fixed both with the suggest

Re: First big PITA in reallife D project

2010-10-19 Thread Stephan
On 19.10.2010 14:22, Steven Schveighoffer wrote: On Tue, 19 Oct 2010 07:33:29 -0400, Stephan wrote: Hey guys I wanted to discuss my first major depressing experience with D in a reallife project. First off here is the according bug report : http://d.puremagic.com/issues/show_bug.cgi?id=4951

Re: First big PITA in reallife D project

2010-10-19 Thread Steven Schveighoffer
On Tue, 19 Oct 2010 07:33:29 -0400, Stephan wrote: Hey guys I wanted to discuss my first major depressing experience with D in a reallife project. First off here is the according bug report : http://d.puremagic.com/issues/show_bug.cgi?id=4951 I have to mention that it was by far not the

Re: First big PITA in reallife D project

2010-10-19 Thread Masahiro Nakagawa
On Tue, 19 Oct 2010 20:33:29 +0900, Stephan wrote: Hey guys I wanted to discuss my first major depressing experience with D in a reallife project. First off here is the according bug report : http://d.puremagic.com/issues/show_bug.cgi?id=4951 I think this bug is related to http://d.pur

First big PITA in reallife D project

2010-10-19 Thread Stephan
Hey guys I wanted to discuss my first major depressing experience with D in a reallife project. First off here is the according bug report : http://d.puremagic.com/issues/show_bug.cgi?id=4951 I have to mention that it was by far not the first bug i encountered in D but it has never been such