Re: [rust-dev] What form should the official Rust binary installers for Unixes take?

2014-02-09 Thread Gaetan
You ll need to create many binary packages : Ubuntu (10.04, 10.10, 11.04, 11.10, 12.04, 12.10, 13.04, 13.10), debian, homebrew, Windows,... There is a huge among of work. Le 9 févr. 2014 16:40, "Daniel Micay" a écrit : > On Sun, Feb 9, 2014 at 8:36 AM, Simon Sapin wrote: > > On 07/02/2014 00:35,

[rust-dev] Problems building rust on OSX

2014-02-09 Thread Martin Koch
Hi List I'm trying to get rust to compile, but I'm apparently running into this bug: https://github.com/mozilla/rust/issues/11162 So my question is: How do I manually download and use this snapshot: rust-stage0-2014-01-20-b6400f9-macos-x86_64-6458d3b46a951da62c20dd5b587d44333402e30b.tar.bz2 Th

Re: [rust-dev] Fwd: Problems building rust on OSX

2014-02-09 Thread Martin Koch
Thanks for your reply. I built by cloning from github, so I am on master. Also, I don't have llvm installed, so that must come from the rust build somehow? GCC is > gcc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) On Sun, Feb

Re: [rust-dev] Fwd: Problems building rust on OSX

2014-02-09 Thread Alex Crichton
This problem has been fixed on master, so I would recommend using master or uninstalling LLVM temporarily from the system (a non-standard gcc in the path may also mess with compilation) On Sun, Feb 9, 2014 at 1:15 PM, Martin Koch wrote: > Hi List > > I'm trying to get rust to compile, but I'm app

[rust-dev] Fwd: Problems building rust on OSX

2014-02-09 Thread Martin Koch
Hi List I'm trying to get rust to compile, but I'm apparently running into this bug: https://github.com/mozilla/rust/issues/11162 So my question is: How do I manually download and use this snapshot: rust-stage0-2014-01-20-b6400f9-macos-x86_64-6458d3b46a951da62c20dd5b587d44333402e30b.tar.bz2 Th

Re: [rust-dev] Fwd: user input

2014-02-09 Thread Patrick Walton
Yeah, I had similar thoughts around putting an auto-buffered stdin in TLS. I think it's a good idea if for no other reason than first impressions. Patrick Alex Crichton wrote: >> Is there any way we can get rid of the need to create a buffered >reader? It feels too enterprisey. > >There's reall

Re: [rust-dev] Fwd: user input

2014-02-09 Thread Alex Crichton
> Is there any way we can get rid of the need to create a buffered reader? It > feels too enterprisey. There's really no way to efficiently define a `read_line` method on a reader that doesn't have an underlying buffer. For that reason, I think that we'll always require that the stream be buffere

Re: [rust-dev] How to use dynamic polymorphism with collection

2014-02-09 Thread Philippe Delrieu
Thank you. My problem is more complex than the example I gave. Your answer help me in reorganizing my code. I use a lib that as generic method that why I put generic in the example. I remove them and change the way I pass parameters. I didn't solve everything but I think I'm progressing. If I

Re: [rust-dev] user input

2014-02-09 Thread Maciej Piechotka
On Sat, 2014-02-08 at 17:23 -0800, Sean McArthur wrote: > let in = readln!() ? > > macro_rules! readln( > () => ({ > let mut stdin > = ::std::io::BufferedReader::new(::std::io::stdin()); > stdin.read_line().unwrap() > }) > ) > Unless I read the source incorrectly that won't work if t

Re: [rust-dev] What form should the official Rust binary installers for Unixes take?

2014-02-09 Thread Daniel Micay
On Sun, Feb 9, 2014 at 8:36 AM, Simon Sapin wrote: > On 07/02/2014 00:35, Brian Anderson wrote: >> >> We can also attempt to package Rust with various of the most common >> package managers: homebrew, macports, dpkg, rpm. > > > In my experience with WeasyPrint, this only works if the person mainta

Re: [rust-dev] What form should the official Rust binary installers for Unixes take?

2014-02-09 Thread Simon Sapin
On 07/02/2014 00:35, Brian Anderson wrote: We can also attempt to package Rust with various of the most common package managers: homebrew, macports, dpkg, rpm. In my experience with WeasyPrint, this only works if the person maintaining one of these packages uses it personally. (Scratch your ow

Re: [rust-dev] Rust meetup in Paris @MozSpace -> 25 February 2014

2014-02-09 Thread Axel Viala
I'am totally agree Nical. So we 40 at this time. I have begin a draft for the summary don't hesitate to contribute : -> https://etherpad.mozilla.org/meetupRustParis01 If you want to come well free to register here however a lot of thing would be in French : https://www.eventbrite.fr/e/billets

Re: [rust-dev] Fwd: user input

2014-02-09 Thread Matthieu Monrocq
On Sun, Feb 9, 2014 at 12:15 PM, Renato Lenzi wrote: > > > Always talking about read & write i noticed another interesting thing: > > use std::io::buffered::BufferedReader; > use std::io::stdin; > > fn main() > { > print!("Insert your name: "); > let mut stdin = BufferedReader::new(stdin(

[rust-dev] Fwd: user input

2014-02-09 Thread Renato Lenzi
Always talking about read & write i noticed another interesting thing: use std::io::buffered::BufferedReader; use std::io::stdin; fn main() { print!("Insert your name: "); let mut stdin = BufferedReader::new(stdin()); let s1 = stdin.read_line().unwrap_or(~"nothing"); print!("Welco

[rust-dev] fork-join parallelism library

2014-02-09 Thread Mahmut Bulut
Hi Rust people, We are two senior Computer Engineering students from Turkey. We want to contribute to project in the parallelism way(call it data parallelism). So we want to start with brand new library like “libgreen”. On the way of doing this I think we should determine: The name of the libr