Re: GHC 2013 in Paris

2013-08-24 Thread Iain Buclaw
On 24 August 2013 09:48, Iain Buclaw wrote: > On 24 August 2013 09:42, monarch_dodra wrote: >> On Friday, 23 August 2013 at 16:31:17 UTC, Iain Buclaw wrote: >>> >>> I've jsut been told there's no reception on Saturdays, so after 9.00am >>> might be a slight problem, but I think they will leave a

Re: I'm porting some go code to D

2013-08-24 Thread Paulo Pinto
On Saturday, 24 August 2013 at 20:03:58 UTC, Rory McGuire wrote: On Sat, Aug 24, 2013 at 3:26 PM, bearophile wrote: David Nadlinger: It's a cute idea, but not really practical, I'm afraid – Goroutines are managed by a scheduler in the Go runtime library, whereas D threads directly map to

Re: I'm porting some go code to D

2013-08-24 Thread Rory McGuire
On Sat, Aug 24, 2013 at 3:26 PM, bearophile wrote: > David Nadlinger: > > > It's a cute idea, but not really practical, I'm afraid – Goroutines are >> managed by a scheduler in the Go runtime library, whereas D threads >> directly map to OS threads. >> > > Can't Rory McGuire add a scheduler to hi

Re: I'm porting some go code to D

2013-08-24 Thread Jonas Drewsen
On Saturday, 24 August 2013 at 13:26:32 UTC, bearophile wrote: David Nadlinger: It's a cute idea, but not really practical, I'm afraid – Goroutines are managed by a scheduler in the Go runtime library, whereas D threads directly map to OS threads. Can't Rory McGuire add a scheduler to his co

Re: SIMD implementation of dot-product. Benchmarks

2013-08-24 Thread Ilya Yaroshenko
On Sunday, 18 August 2013 at 05:26:00 UTC, Manu wrote: movups is not good. It'll be a lot faster (and portable) if you use movaps. Process looks something like: * do the first few from a[0] until a's alignment interval as scalar * load the left of b's aligned pair * loop for each aligne

Re: I'm porting some go code to D

2013-08-24 Thread Rory McGuire
On 24 Aug 2013 11:25, "Moritz Maxeiner" wrote: > > On Friday, 23 August 2013 at 23:54:55 UTC, Rory McGuire wrote: >> >> So I'm porting so #golang code to #dlang and there is all these blasted >> "go" statements.So I thought I'd give implmenting it in D a shot. What do >> you guys think? >> Fire aw

Re: I'm porting some go code to D

2013-08-24 Thread bearophile
David Nadlinger: It's a cute idea, but not really practical, I'm afraid – Goroutines are managed by a scheduler in the Go runtime library, whereas D threads directly map to OS threads. Can't Rory McGuire add a scheduler to his code? How much code does it take? Bye, bearophile

Re: I'm porting some go code to D

2013-08-24 Thread David Nadlinger
On Friday, 23 August 2013 at 23:54:55 UTC, Rory McGuire wrote: So I'm porting so #golang code to #dlang and there is all these blasted "go" statements.So I thought I'd give implmenting it in D a shot. What do you guys think? It's a cute idea, but not really practical, I'm afraid – Goroutines

Re: I'm porting some go code to D

2013-08-24 Thread Moritz Maxeiner
On Friday, 23 August 2013 at 23:54:55 UTC, Rory McGuire wrote: So I'm porting so #golang code to #dlang and there is all these blasted "go" statements.So I thought I'd give implmenting it in D a shot. What do you guys think? Fire away :). /** * chan allows messaging between threads without ha

Re: I'm porting some go code to D

2013-08-24 Thread Rory McGuire
On 24 Aug 2013 11:00, "David" wrote: > > Daemonic Threads often end with a segfault, so if your main thread > exists, the other threads will probably segfault. Thanks, I wonder what they're accessing that they shouldn't.

Re: I'm porting some go code to D

2013-08-24 Thread David
Daemonic Threads often end with a segfault, so if your main thread exists, the other threads will probably segfault.

Re: I'm porting some go code to D

2013-08-24 Thread Rory McGuire
On 24 Aug 2013 03:15, "Jesse Phillips" wrote: > > On Friday, 23 August 2013 at 23:54:55 UTC, Rory McGuire wrote: >> >> So I'm porting so #golang code to #dlang and there is all these blasted >> "go" statements.So I thought I'd give implmenting it in D a shot. What do >> you guys think? >> Fire awa

Re: GHC 2013 in Paris

2013-08-24 Thread Iain Buclaw
On 24 August 2013 09:42, monarch_dodra wrote: > On Friday, 23 August 2013 at 16:31:17 UTC, Iain Buclaw wrote: >> >> I've jsut been told there's no reception on Saturdays, so after 9.00am >> might be a slight problem, but I think they will leave a number for >> you to call. >> >> I *could* excuse m

Re: GHC 2013 in Paris

2013-08-24 Thread monarch_dodra
On Friday, 23 August 2013 at 16:31:17 UTC, Iain Buclaw wrote: I've jsut been told there's no reception on Saturdays, so after 9.00am might be a slight problem, but I think they will leave a number for you to call. I *could* excuse myself to let you in, but that would require relying on me to