Re: [rust-dev] Static_assert on a hash

2014-03-31 Thread Vladimir Pouzanov
That actually sounds like a good option, thanks! On Sun, Mar 30, 2014 at 11:22 PM, comex com...@gmail.com wrote: On Sun, Mar 30, 2014 at 8:08 AM, Vladimir Pouzanov farcal...@gmail.com wrote: gpio::Pin::new(0, 15, gpio::Out, gpio::UART1_TXD); // p13 - TXD compiles, but something like

[rust-dev] Remainder: Rust Meetup Paris Tonight

2014-03-31 Thread Axel Viala
Hello Fellow Rusties! Just a remainder for the Paris Rust Meetup. It start at 19:00 in the Paris Mozspace(see reps Page for plan) Reps page: https://reps.mozilla.org/e/meetup-rust-paris-02/ Everyone is welcome we may make a docsprint or something else. :)

Re: [rust-dev] Slides from PDX-Rust talk RE: compiler internals

2014-03-31 Thread Isaac Hollander McCreery
All, Tom, thank you! I was looking for something like this in the READMEs and wiki, but couldn't find anything that seemed to start at the beginning and give clear signposts for where to find things. With that in mind, did I miss something? If not, maybe I could convert these into markdown and

[rust-dev] Porting some nesC features to rust?

2014-03-31 Thread Vladimir Pouzanov
I'd like to propose to extend the language with some concepts from nesC, which is a nice but quite unknown C superset outside of TinyOS world. The concept would allow better static polymorphism and better code optimisations and is loosely based on nesC modules/components. It might be possible to

Re: [rust-dev] Porting some nesC features to rust?

2014-03-31 Thread Corey Richardson
See our new RFC process for proposing changes to the language: https://github.com/rust-lang/rfcs/blob/master/active/0001-rfc-process.md On Mon, Mar 31, 2014 at 10:01 AM, Vladimir Pouzanov farcal...@gmail.com wrote: I'd like to propose to extend the language with some concepts from nesC, which

Re: [rust-dev] Porting some nesC features to rust?

2014-03-31 Thread Daniel Micay
I'm not really sure exactly what it being proposed here. Rust's generic types and functions are already entirely expanded at compile-time. You *can* use traits as objects for dynamic dispatch, but it's not how they're used in the vast majority of cases. signature.asc Description: OpenPGP

[rust-dev] Single inheritance example

2014-03-31 Thread Josh Matthews
As one of the main DOM designers for Servo, I've been reading the RFCs for virtual struct proposals with interest. One problem I've had is that I have found it difficult to translate the examples included into meaningful commentary with regards to how this would impact Servo's implementation.

Re: [rust-dev] Single inheritance example

2014-03-31 Thread Nick Cameron
I added a translation of this example to RFCS 5 and 24. Cheers, Nick On Tue, Apr 1, 2014 at 10:23 AM, Josh Matthews j...@joshmatthews.netwrote: As one of the main DOM designers for Servo, I've been reading the RFCs for virtual struct proposals with interest. One problem I've had is that I