Re: Best choice for messages (std.concurrency)

2010-08-18 Thread Russel Winder
On Wed, 2010-08-18 at 20:48 +, nsf wrote: > Hi. I'm trying to replicate in D my Go demo app which basically > draws mandelbrot fractal using multiple goroutines. In Go it's > fairly easy to communicate between threads, because the memory model > is C like. D 2.0 on the other hand has this thing

Re: Best choice for messages (std.concurrency)

2010-08-18 Thread Jonathan M Davis
On Wednesday, August 18, 2010 13:48:08 nsf wrote: > Hi. I'm trying to replicate in D my Go demo app which basically > draws mandelbrot fractal using multiple goroutines. In Go it's > fairly easy to communicate between threads, because the memory model > is C like. D 2.0 on the other hand has this t

Best choice for messages (std.concurrency)

2010-08-18 Thread nsf
Hi. I'm trying to replicate in D my Go demo app which basically draws mandelbrot fractal using multiple goroutines. In Go it's fairly easy to communicate between threads, because the memory model is C like. D 2.0 on the other hand has this thing "TLS by default". And I saw simple examples of std.co

Re: How to avoid the console from apearing.

2010-08-18 Thread Nick Sabalausky
"Steven Schveighoffer" wrote in message news:op.vhl46mdneav...@localhost.localdomain... > > Changes are afoot to std.process, we recently got a blocker fixed (not yet > in svn, but someone submitted a correct patch) > Issue #?

Re: Reading stdin in Windows 7

2010-08-18 Thread Jesse Phillips
Stanislav Blinov Wrote: > Hello, > > I'm receiving strange results with reading stdin on Windows 7. Consider > this code: > > module test; > > import std.stdio; > > void main(string[] args) > { > foreach (int i, string line; lines(stdin)) > { > write(line)