atom-archive / xray

An experimental next-generation Electron-based text editor
MIT License
8.48k stars 235 forks source link

What about the supporters of xray from Windows? #53

Open canfeit opened 6 years ago

canfeit commented 6 years ago

https://github.com/atom/xray/blob/0035c7fed82fbdb001a5cb3cd1a0a60617cad266/xray_server/src/main.rs#L22

https://github.com/atom/xray/blob/0035c7fed82fbdb001a5cb3cd1a0a60617cad266/xray_cli/src/main.rs#L12

canfeit commented 6 years ago

Or,can you provide a fallback solution on Windows?:pensive:

nathansobo commented 6 years ago

Thanks for the feedback. I’ll investigate alternatives.

quininer commented 6 years ago

named-pipe is usually an alternative, and parity uses it.

nathansobo commented 6 years ago

I haven’t found a complete implementation of names pipes that works with tokio.

mattiascibien commented 6 years ago

@nathansobo could this work? https://github.com/alexcrichton/tokio-named-pipes. It is the base crate for what @quininer linked.

Moxinilian commented 6 years ago

What is the current status of Xray on Windows?

nathansobo commented 6 years ago

We're not really production ready on any platform. Windows is especially lacking right now due to no workarounds for domain sockets as stated above.

GlenCFL commented 6 years ago

The Microsoft Azure team seems to be maintaining a more up-to-date version of tokio-named-pipes here: https://github.com/Azure/iotedge/tree/master/edgelet/tokio-named-pipe