[rust-dev] Fork in Rust

2014-03-17 Thread John Mija
Is possible to fork/daemonize in Rust? Without problems due to the interaction between fork(2) and threads. ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] doc sprint today in San Francisco at 12pm PDT!

2014-03-17 Thread Cadence Marseille
That was fun! I hope to see a few more of these sprints in the future. Cadence On Sun, Mar 16, 2014 at 12:37 PM, Erick Tryzelaar erick.tryzel...@gmail.com wrote: Hello Rusties! I just wanted to remind everyone that we're having a doc sprint today at 12 pm PDT at the San Francisco Mozilla

Re: [rust-dev] doc sprint today in San Francisco at 12pm PDT!

2014-03-17 Thread Lindsey Kuper
On Mon, Mar 17, 2014 at 8:04 AM, Cadence Marseille cadencemarsei...@gmail.com wrote: That was fun! I hope to see a few more of these sprints in the future. Same! Thanks for doing the work of organizing it. Do we have any stats, like number of PRs as a result of the sprint, number of modules

Re: [rust-dev] Fork in Rust

2014-03-17 Thread Alex Crichton
I would recommend using io::process with the detach option set to true rather than invoking fork(). The green runtime is not fork-safe, and at this time we're not guaranteeing that the native runtime is fork-safe. On Mon, Mar 17, 2014 at 4:59 AM, John Mija jon...@proinbox.com wrote: Is possible

Re: [rust-dev] Fork in Rust

2014-03-17 Thread Daniel Micay
On 17/03/14 07:59 AM, John Mija wrote: Is possible to fork/daemonize in Rust? Without problems due to the interaction between fork(2) and threads. Forking in a daemon is only useful as a way to signal when the service is ready. A socket-activated daemon would be the modern way of doing it, as

Re: [rust-dev] Virtual fn is a bad idea

2014-03-17 Thread Jan Klesnil
Hi, I've just read your proposal. It is pretty similar to an idea I had over the weekend. However, there is one thing I want to ask about. But I will present my idea because it may be the case that I misunderstood some part from your proposal. My idea was to introduce few orthogonal

Re: [rust-dev] doc sprint today in San Francisco at 12pm PDT!

2014-03-17 Thread Brian Anderson
This appears to be all the doc-sprint-inspired PR's. More than I expected! https://github.com/mozilla/rust/pull/12982 https://github.com/mozilla/rust/pull/12968 https://github.com/mozilla/rust/pull/12954 https://github.com/mozilla/rust/pull/12955 https://github.com/mozilla/rust/pull/12956

Re: [rust-dev] Virtual fn is a bad idea

2014-03-17 Thread Eric Summers
I thought that the RFC for a virtual fn alternative pushed a couple days ago by Bill Myers looked interesting: https://github.com/bill-myers/rfcs/blob/5e62f881421fc6aa34e85ffc5b2a91a7d370/active/-oop-with-enums.md I can’t tell if it is elegant or an evil contortion of existing Rust

[rust-dev] Announcing the new Rust package manager, Cargo

2014-03-17 Thread Brian Anderson
Dearest Rustlers, Today I'm super-excited to announce that Mozilla has arranged to develop a world-class package manager for Rust. Yehuda Katz and Carl Lerche, from Tilde Inc., have previously built the popular Ruby package manager, Bundler, and now they are going to build Rust's package

Re: [rust-dev] Announcing the new Rust package manager, Cargo

2014-03-17 Thread François-Xavier Bourlet
You had my curiosity. But now you have my attention. On Mon, Mar 17, 2014 at 5:48 PM, Brian Anderson bander...@mozilla.com wrote: Dearest Rustlers, Today I'm super-excited to announce that Mozilla has arranged to develop a world-class package manager for Rust. Yehuda Katz and Carl Lerche,

Re: [rust-dev] Announcing the new Rust package manager, Cargo

2014-03-17 Thread Jeremy Ong
I have long touted Bundler as one of the greatest tools for package management currently in existence and have missed its presence when working in C++ and many other languages. This is a very welcome development indeed for the Rust ecosystem and I'm excited to see what becomes of it. On Mon, Mar

Re: [rust-dev] Announcing the new Rust package manager, Cargo

2014-03-17 Thread Yehuda Katz
Hello Rustlers, I'll be writing here more with more details soon. For now, a few quick comments: - I'm really glad that Mozilla and the Rust team are prioritizing package management. An open source language ecosystem really lives or dies based on how easy it is to share code, and

Re: [rust-dev] Announcing the new Rust package manager, Cargo

2014-03-17 Thread Liigo Zhuang
Great news! 2014年3月18日 上午9:27于 Yehuda Katz wyc...@gmail.com写道: Hello Rustlers, I'll be writing here more with more details soon. For now, a few quick comments: - I'm really glad that Mozilla and the Rust team are prioritizing package management. An open source language ecosystem

Re: [rust-dev] doc sprint today in San Francisco at 12pm PDT!

2014-03-17 Thread Erick Tryzelaar
Yeah! It was great! Thanks everyone for coming! On Mon, Mar 17, 2014 at 2:14 PM, Brian Anderson bander...@mozilla.comwrote: This appears to be all the doc-sprint-inspired PR's. More than I expected! https://github.com/mozilla/rust/pull/12982 https://github.com/mozilla/rust/pull/12968

Re: [rust-dev] Announcing the new Rust package manager, Cargo

2014-03-17 Thread Brendan Zabarauskas
This is incredible news. Thank you for agreeing to help us out in our time of need! I have a couple of questions: - For those of us who are less familiar with Bundler, could you offer a quick run-down of how it works? - Are there any things you learned from doing Bundler that you would do

Re: [rust-dev] Announcing the new Rust package manager, Cargo

2014-03-17 Thread Yehuda Katz
On Mon, Mar 17, 2014 at 8:24 PM, Brendan Zabarauskas bjz...@yahoo.com.auwrote: This is incredible news. Thank you for agreeing to help us out in our time of need! I have a couple of questions: - For those of us who are less familiar with Bundler, could you offer a quick run-down of how it