Orphans-Paradise / p2p-chat-specification

about design docs
0 stars 0 forks source link

Change subprocess call to wasm call #1

Open zhaxzhax opened 4 years ago

zhaxzhax commented 4 years ago

why

Since p2p-chat is a interface using to call a subprocess p2p-net, this logic can not be multiplexing in web, Android. As we all know, wasm has higher compatibility than the bin program. Luckily ( fixed wasi support (I think) #97 ), net2-rs seems like add the support of wasm. So it looks like rust-libp2p will have the support of wasm also. I would like a try to change the bin logic into wasm.