Re: [rust-dev] RFC: Opt-in builtin traits

2014-03-02 Thread Gábor Lehel
On Sat, Mar 1, 2014 at 9:07 PM, Niko Matsakis wrote: > On Fri, Feb 28, 2014 at 11:23:23PM -0800, Kevin Ballard wrote: > > I'm also slightly concerned that #[deriving(Data)] gives the > > impression that there's a trait Data, so maybe that should be > > lowercased as in #[deriving(data)], or even

Re: [rust-dev] Alternative to Option types

2014-03-02 Thread Clark Gaebel
As long as monadic bind is usually inlined away, I'll be happy. Needless closure allocation can add a performance argument against using HOFs. On Sun, Mar 2, 2014 at 12:46 AM, Carter Schonwald < carter.schonw...@gmail.com> wrote: > indeed. I wonder how many rust idioms will change once HKT is so

Re: [rust-dev] RFC: Opt-in builtin traits

2014-03-02 Thread Gábor Lehel
On Sat, Mar 1, 2014 at 8:24 PM, Niko Matsakis wrote: > On Fri, Feb 28, 2014 at 10:36:11PM +0100, Gábor Lehel wrote: > > I don't see the difference here. Why do you think this should be handled > > differently? > > To be honest I hadn't thought about it before. I agree there is no > fundamental di

[rust-dev] About RFC: "A 30 minute introduction to Rust"

2014-03-02 Thread Fernando Pelliccioni
This is a misleading propaganda against C++. I think it's pure marketing. I hope this code ugly C++ was not on purpose. I think it would be fair that you enable comments on the website so I can show how to code in real C++. Do you dare to discuss seriously? If the feedback is in a different place

Re: [rust-dev] About RFC: "A 30 minute introduction to Rust"

2014-03-02 Thread Patrick Walton
On 3/2/14 8:34 PM, Fernando Pelliccioni wrote: This is a misleading propaganda against C++. I think it's pure marketing. I hope this code ugly C++ was not on purpose. I think it would be fair that you enable comments on the website so I can show how to code in real C++. Do you dare to discuss se

Re: [rust-dev] About RFC: "A 30 minute introduction to Rust"

2014-03-02 Thread Fernando Pelliccioni
What about "Feedback very welcome on the rust-dev mailing list or on Twitter." ? On Mon, Mar 3, 2014 at 1:38 AM, Patrick Walton wrote: > On 3/2/14 8:34 PM, Fernando Pelliccioni wrote: > >> This is a misleading propaganda against C++. I think it's pure marketing. >> I hope this code ugly C++ was

Re: [rust-dev] About RFC: "A 30 minute introduction to Rust"

2014-03-02 Thread Fernando Pelliccioni
I don't have the Steve's email address. Please could someone provide it. Thanks. On Mon, Mar 3, 2014 at 1:41 AM, Fernando Pelliccioni wrote: > What about "Feedback very welcome on the rust-dev mailing list or on > Twitter." ? > > > On Mon, Mar 3, 2014 at 1:38 AM, Patrick Walton wrote: > >> On 3

Re: [rust-dev] About RFC: "A 30 minute introduction to Rust"

2014-03-02 Thread Corey Richardson
Notice that there was a link to a two-month old thread on the list. His email is in that... On Sun, Mar 2, 2014 at 11:44 PM, Fernando Pelliccioni wrote: > I don't have the Steve's email address. > Please could someone provide it. > Thanks. > > > On Mon, Mar 3, 2014 at 1:41 AM, Fernando Pelliccion

Re: [rust-dev] About RFC: "A 30 minute introduction to Rust"

2014-03-02 Thread Patrick Walton
On 3/2/14 8:41 PM, Fernando Pelliccioni wrote: What about "Feedback very welcome on the rust-dev mailing list or on Twitter." ? Oh, I didn't realize the blog post contained that. Well, I assume that was soliciting feedback regarding using the post, or something derived from it, as an official

Re: [rust-dev] Faster communication between tasks

2014-03-02 Thread Simon Ruggier
Alright, I've pushed out an update that includes the resizing functionality. I haven't explored the question of whether there's a performance penalty or not, but it looks like there may not be one. If there is one, it's very small. Even with reallocations occurring (which would not be the norm), it