[rust-dev] Interaction between private fields and auto-dereferencing

2014-05-23 Thread Paulo Sérgio Almeida
Hi all, (resending from different email address; there seems to be a problem with my other address) I don't know if this has been discussed, but I noticed an unpleasant interaction between private fields in the implementation of things like pointer types and auto-dereferencing. The example I

[rust-dev] Cross Platform Compatibility

2014-05-23 Thread Bryce Fisher-Fleig
I'm trying to learn Rust by doing a project I call "iron-santa" ( https://github.com/brycefisher/iron-santa) that parses RSS feeds from Craigslist. I work on both a 64 bit Ubuntu 12.04 machine and a MacBook Pro OS 10.8, and I have the latest nightlies installed on both machines. I'm running into wh

Re: [rust-dev] Cross Platform Compatibility

2014-05-23 Thread Steve Klabnik
Are you sure you have the exact same rustc on each machine? Even if it was from a different day, this could happen, because that change is _very_ recent. ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Qt5 Rust bindings and general C++ to Rust bindings feedback

2014-05-23 Thread Benjamin Striegel
On Fri, May 23, 2014 at 12:12 AM, Patrick Walton wrote: > You can use "extern "Rust" fn" (or ||:'static) to achieve something like > C++03 member function pointers without the lifetimes. Attacking Rust > without asking first how to do this is unappreciated. > I think that characterizing this as

Re: [rust-dev] Qt5 Rust bindings and general C++ to Rust bindings feedback

2014-05-23 Thread Alexander Tsvyashchenko
Hi Patrick, Thanks for your answer! See comments below. On 2014-05-23 06:12, Patrick Walton wrote: > You can use "extern "Rust" fn" (or ||:'static) to achieve something like > C++03 member function pointers without the lifetimes. Do I understand correctly that by "extern "Rust" fn" you m

Re: [rust-dev] Qt5 Rust bindings and general C++ to Rust bindings feedback

2014-05-23 Thread Alexander Tsvyashchenko
Hi Benjamin, Thanks for the support and encouragement! After spending days (evenings to be more precise ;-) wrestling with the compiler & trying different workarounds to implement at least some form of Qt5 bindings it's possible there's some frustration present in the post, but as explicitly

Re: [rust-dev] Interaction between private fields and auto-dereferencing

2014-05-23 Thread Kevin Ballard
This looks like a legitimate problem. Have you filed an issue on the GitHub issues page? https://github.com/mozilla/rust/issues/new -Kevin On May 23, 2014, at 6:04 AM, Paulo Sérgio Almeida wrote: > Hi all, (resending from different email address; there seems to be a > problem with my othe