Luminarys / synapse

Synapse BitTorrent Daemon
https://synapse-bt.org
ISC License
853 stars 48 forks source link

Compile to `wasm32-wasi` #167

Open ArniDagur opened 4 years ago

ArniDagur commented 4 years ago

I think it would be cool to be able to compile Synapse to wasm32-wasi, given WASI's sandboxing capabilities. Currently, when I try building for said platform, this is the log: http://dpaste.com/18M6PSW.txt

Luminarys commented 4 years ago

I think this is a cool idea for sure, but browsing the logs, it would require a lot of work, some of which would have to happen in underlying libraries. Maybe one day if things get refactored so all underlying FS and networking functionality is abstracted out this would become trivial, but until then I think it's likely not worth the immediate effort.