Re: [rust-dev] Concurrency and synchronous blocking

2012-07-11 Thread Florian Weimer
* David Bruant: Most of my concerns are appearant in the following piece of Go code (32'41'' in the video): c:= make(chan Result) go func() { c - Web(query) } () go func() { c - Image(query) } () go func() { c - Video(query) } () timeout :=

[rust-dev] Calling C varg args from rust

2012-07-11 Thread Harrison, John
Is it currently possible to call a var arg function, say printf, from rust? Or is there a recommended work around at the moment for doing so? -- John Harrison ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

[rust-dev] rust to JavaScript

2012-07-11 Thread Mic
Hello, Any plans to allow rust to compile to JavaScript like dart http://www.youtube.com/watch?v=YxogQGnMA9Y . Cheers, Mic ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Concurrency and synchronous blocking

2012-07-11 Thread Ziad Hatahet
On Wed, Jul 11, 2012 at 10:27 AM, Florian Weimer f...@deneb.enyo.de wrote: This approach is fundamentally broken. If the timeout ever kicks in, goroutines will pile up without bounds. I just want to be clear on your comment. You mean the goroutines would pile up, or the channel will grow

Re: [rust-dev] Release candidates

2012-07-11 Thread Sebastian Sylvan
On Wed, Jul 11, 2012 at 7:55 PM, Graydon Hoare gray...@mozilla.com wrote: Hi, I've posted release candidates for 0.3 to the rust download server. These are still preliminary; I'd like to get a few shows-of-hands that they work right before announcing anything. In particular, the windows

Re: [rust-dev] Concurrency and synchronous blocking

2012-07-11 Thread Florian Weimer
* Ziad Hatahet: On Wed, Jul 11, 2012 at 10:27 AM, Florian Weimer f...@deneb.enyo.de wrote: This approach is fundamentally broken. If the timeout ever kicks in, goroutines will pile up without bounds. I just want to be clear on your comment. You mean the goroutines would pile up, or the