Re: [rust-dev] Async Message passing.

2014-09-29 Thread Wink Saville
Perfect! On Mon, Sep 29, 2014 at 9:50 PM, Clark Gaebel wrote: > These are the semantics of a boxed value. > > > > On Mon, Sep 29, 2014 at 9:47 PM, Wink Saville wrote: > >> >> >> On Mon, Sep 29, 2014 at 1:10 PM, Paul Colomiets >> wrote: >> >>> Hi, >>> >>> On Mon, Sep 29, 2014 at 11:01 PM, Win

Re: [rust-dev] Async Message passing.

2014-09-29 Thread Wink Saville
Cool, I've been following capn proto and have used protobufs a little. This is the direction of what I'm thinking and I'm wondering if the rust notion of ownership can be leveraged in message passing. Hence my silly questions. On Mon, Sep 29, 2014 at 2:03 PM, Tony Arcieri wrote: > On Mon, Sep 29

Re: [rust-dev] Async Message passing.

2014-09-29 Thread Clark Gaebel
These are the semantics of a boxed value. On Mon, Sep 29, 2014 at 9:47 PM, Wink Saville wrote: > On Mon, Sep 29, 2014 at 1:10 PM, Paul Colomiets wrote: >> Hi, >> >> On Mon, Sep 29, 2014 at 11:01 PM, Wink Saville wrote: >> > Nanomsg looks interesting and I'll take a closer look. But I'm >> inte

Re: [rust-dev] Async Message passing.

2014-09-29 Thread Wink Saville
On Mon, Sep 29, 2014 at 1:10 PM, Paul Colomiets wrote: > Hi, > > On Mon, Sep 29, 2014 at 11:01 PM, Wink Saville wrote: > > Nanomsg looks interesting and I'll take a closer look. But I'm > interested in > > a pure rust implementation of async messaging because I'd like to create > an > > embedded

Re: [rust-dev] Async Message passing.

2014-09-29 Thread Tony Arcieri
On Mon, Sep 29, 2014 at 1:01 PM, Wink Saville wrote: > Nanomsg looks interesting and I'll take a closer look. But I'm interested > in a pure rust implementation of async messaging because I'd like to create > an embedded OS using rust and not use C if possible > You might take a look at capnproto

Re: [rust-dev] Async Message passing.

2014-09-29 Thread Paul Colomiets
Hi, On Mon, Sep 29, 2014 at 11:01 PM, Wink Saville wrote: > Nanomsg looks interesting and I'll take a closer look. But I'm interested in > a pure rust implementation of async messaging because I'd like to create an > embedded OS using rust and not use C if possible. > I think even if there will

Re: [rust-dev] Async Message passing.

2014-09-29 Thread Wink Saville
Nanomsg looks interesting and I'll take a closer look. But I'm interested in a pure rust implementation of async messaging because I'd like to create an embedded OS using rust and not use C if possible. I been thinking about the problem and one of the questions I have is how to transfer ownership

Re: [rust-dev] Async Message passing.

2014-09-29 Thread Heiko Braun
I havn't looked at it in detail, but nanomsg [1] seems to cover these requirements. There's a rust binding [2] available too. Regards, Heiko [1] http://nanomsg.org [2] https://github.com/thehydroimpulse/nanomsg.rs On 28 Sep 2014, at 03:54, Wink Saville wrote: > I'd like to have one API whic

[rust-dev] Async Message passing.

2014-09-27 Thread Wink Saville
I'd like to have one API which would allow sending/receiving messages asynchronously, safely and efficiently over any transport and should work for components that run in the same thread, different threads, different processes or between devices which might be connected via any arbitrary hardware.