Re: [rust-dev] C++ to Rust - Is that about right?

2014-07-14 Thread Robin Kruppe
Re-CCing list because you don't seem to have dropped it intentionally and I'd prefer more experienced people to shout at me if I say something wrong. On Tue, Jul 15, 2014 at 5:25 AM, Christoph Husse wrote: > > > you're thinking in one paradigm exclusively while using in a multi-paradigm > > Well

Re: [rust-dev] C++ to Rust - Is that about right?

2014-07-14 Thread Robin Kruppe
Two things I noticed: This organization, or at least the way you present it, makes the most sense when treating classes as your primary and (almost) only design element ("Kingdom of nouns"). While this is certainly a valid design paradigm, and Rust should support it rather well, focusing on it is

Re: [rust-dev] Augmented assignment

2013-08-26 Thread Robin Kruppe
On Tue, Aug 27, 2013 at 2:39 AM, Kevin Ballard wrote: [snip] > My understanding of Python's GIL is that += is indeed atomic because the GIL > only locks/unlocks around statements (though I don't believe this is > intentional). Though this certainly isn't the case for C/C++. No, that's incorrect

Re: [rust-dev] Augmented assignment

2013-08-23 Thread Robin Kruppe
On Fri, Aug 23, 2013 at 8:36 PM, Graydon Hoare wrote: > On 13-08-23 11:28 AM, Masklinn wrote: > >> For the record, I think augmented assignments are a terrible ideas and one >> of the worst features of python. > > Could you say more (perhaps more constructively)? I believe we have > every intenti