Re: [rust-dev] Using new I/O error handling

2013-06-03 Thread Felix S. Klock II
On 01/06/2013 06:10, Brian Anderson wrote: On 05/31/2013 01:44 AM, Sanghyeon Seo wrote: Is it actually possible to use new I/O error handling at the moment? It seems to me that it is not possible to get at std::rt::io::io_error at all, because conditions are private and do not work

[rust-dev] Access to COM/IUnknown objects from Rust?

2013-06-03 Thread Alexandre Mutel
Hi, I have not seen any reference about this, so sorry If I'm posting a question that got already an answer somewhere. Rust seems to provide an infrastructure for accessing exported DLL functions, but is there a mechanism to access COM/IUnknown objects? There are lots of API - under Windows -

Re: [rust-dev] Any interest in a San Francisco Bay Area Rust meetup and/or hackathon?

2013-06-03 Thread Erick Tryzelaar
Hey all! I think we have critical mass for a presentation or two. Would anyone be interested in giving a presentation? If so, how much time would you need to put one together? On Mon, May 27, 2013 at 4:27 PM, Kevin Cantu m...@kevincantu.org wrote: Count me in. :) Kevin -- Kevin Cantu

Re: [rust-dev] Access to COM/IUnknown objects from Rust?

2013-06-03 Thread Vadim
Rust traits are not binary-compatible with C++ vtables, so no, you cannot use them directly. I think it's possible to implement COM interop by doing some clever code generation via macros. I briefly looked into doing this a couple of months ago, but at the time it was not possible to specify

Re: [rust-dev] Mutability and borrowing

2013-06-03 Thread Madhu Srinivasan
Going by the suggested solution of using Atomic Reference Counters (std::arc) for sharing immutable data across different tasks, I would presume that the most generic solution would be to use the arc module. You can see an example of this in action here :