Re: [rust-dev] Dynamic in Rust

2013-08-24 Thread Lindsey Kuper
On Fri, Aug 23, 2013 at 8:30 PM, Sebastian Sylvan wrote: > I'm sure you've all seen it, but C# has something similar but a lot more > powerful. Basically, it has support for allowing runtime resolution of types > if they are declared as having the "dynamic" type. But it's even better, the > specif

Re: [rust-dev] Augmented assignment

2013-08-24 Thread Armin Ronacher
Hi, On 23/08/2013 19:36, Graydon Hoare wrote: Could you say more (perhaps more constructively)? I believe we have every intention to support these sorts of overloads longer-term; we removed the previous support only because it wasn't done terribly well. I think augmented assignments in Python ar

Re: [rust-dev] Dynamic in Rust

2013-08-24 Thread Armin Ronacher
Hi, On 24/08/2013 01:30, Sebastian Sylvan wrote: I'm sure you've all seen it, but C# has something similar but a lot more powerful. Dynamic in C# is beautiful. It's an amazing way to work with externally controlled data like JSON that is without equivalent in a strongly typed language current

[rust-dev] Playing around with O(n) sorting in Rust

2013-08-24 Thread Carl Eastlund
Greetings, everyone. I've been trying out Rust recently and it's been a very pleasant experience. I've been getting used to the type system and the memory management semantics by implementing discriminator-based sorting, a framework for linear-time sorting of a broad range of datatypes [1]. My e

Re: [rust-dev] cycle time, compile/test performance

2013-08-24 Thread Corey Richardson
There's an issue open for incremental compilation: https://github.com/mozilla/rust/issues/2369 On Sat, Aug 24, 2013 at 6:45 AM, Matthieu Monrocq wrote: > Most C/C++ projects require parallel make because they lack modules. I work > on medium-large projects in C++, for which we use Boost as well a

[rust-dev] Rust on Arduino Due

2013-08-24 Thread Jens Nockert
I spent some time at the lovely Foohack hackathon, and got Rust to run on an Arduino Due. https://github.com/jensnockert/dueboot You can link to the standard Arduino libraries, so it should be about as easy to code and prototype as in C++ with a bit of work. Haven't really done anything except

Re: [rust-dev] cycle time, compile/test performance

2013-08-24 Thread Matthieu Monrocq
Most C/C++ projects require parallel make because they lack modules. I work on medium-large projects in C++, for which we use Boost as well as about a hundred custom middleware components. A "simple" source file of ~1000 lines ends up generating a preprocessed file in the order of between 100,000 l