Re: std.concurrency, speed, etc.

2011-02-04 Thread Jonathan M Davis
On Friday 04 February 2011 16:09:08 Sean Kelly wrote: > Adam Conner-Sax Wrote: > > 1) I couldn't get the synchronized class version (as opposed to using > > synchronized statements in the functions) to run. It would hang in odd > > ways. > > > > This may be related to a bug I reported earlier (a

Re: std.concurrency, speed, etc.

2011-02-04 Thread Adam Conner-Sax
== Quote from Sean Kelly (s...@invisibleduck.org)'s article > Adam Conner-Sax Wrote: > > > > 1) I couldn't get the synchronized class version (as opposed to using > > synchronized statements in the functions) to run. It would hang in odd > > ways. > > This may be related to a bug I reported earl

Re: std.concurrency, speed, etc.

2011-02-04 Thread Sean Kelly
Adam Conner-Sax Wrote: > > 1) I couldn't get the synchronized class version (as opposed to using > synchronized statements in the functions) to run. It would hang in odd ways. > This may be related to a bug I reported earlier (and Sean was helpful enough > to fix!) so this may be moot. 'synchro

Re: std.concurrency, speed, etc.

2011-02-04 Thread bearophile
Adam Conner-Sax: > I wrote the tester as an exercise in learning D. The language is great; > perfect for me as someone who loved generics in C++ but found that all the > cool things you could do got ugly and messy fast. Few notes on the form of your code: - I suggest to use module names all in l

std.concurrency, speed, etc. (part 2)

2011-02-04 Thread Adam Conner-Sax
attaching more files... begin 644 PrettyPrint.d M:6UP;W)T('-T9"YF;W)M870[#0II;7!O7!E8V]N&-E<'1I;VX[#0II;7!OTPL0RQ2?0T*#0H-"G-TPT*("!A=71O(&$@/2!A<'!E;F1E2!J=7-T:69Y+"`-"@D)"2`@("!I;B!S M=')I;F=;72!F;W)M871S+"!I;B!4(&%R9W,I#0I[#0H@(&5N9F]R8V4H8V]L M=6UN7W=I9'1H3L-"B`@5M=(&IUPT* M("`@(&$N<'5T*&9O5MK7