[dev-servo] Using IPC channels with Tokio?

2016-11-16 Thread Eddy Bruel
For the Servo debugger, now that we've begun landing the Rust interface to the Debugger API, we can also started working on the next step, which is an IPC client/server on top of that Rust interface. This IPC server will allow the main debugger server, which lives in a separate process, to talk to

Re: [dev-servo] Using IPC channels with Tokio?

2016-11-16 Thread David Teller
Having worked on e10s, just a quick note on multi-process: it is really important to make the default use of IPC resilient to communication problems, in particular the other process not responding correctly, because it has crashed, frozen or is otherwise too busy. In Firefox, e10s fails to provide

Re: [dev-servo] Using IPC channels with Tokio?

2016-11-16 Thread Eddy Bruel
After having talked with Alex Crichton, my understanding is that it's not possible to use IPC channels with Tokio in their current form. To make IPC channels usable with Tokio, we'd have to take whatever low level IO primitive IPC channels use under the hood, and then reimplement the same logic th