@webology Agreed completely, this area is still very new so I'm hoping as actual applications begin to be built we can start optimizing the same way we do for JavaScript bundles :)
@sethmlarson It's exciting and super promising.
@webology I'm working on it. 😉 Got to get WASI to tier 2 support in Python, then I can work on WASI preview 2 support which has sockets. Then I can work on packaging.
@brettcannon I'm excited to hear more. I suspect we are talking about two different things, though. (you can fill me in some other time since the internet is feisty today)
@brettcannon @webology So exciting! Thanks for all your work Brett 💜
Just to confirm, the support for WASI sockets isn't something for browsers, only an API for running on a platform that has a socket API? My understanding is sockets aren't on the horizon for browser platforms.
@sethmlarson @webology https://github.com/bytecodealliance/jco is implementing browser (and Node) support for WASI, so however they make it work we will get.
And do note this isn't raw sockets and the entire BSD API for WASI; right now it's just TCP and UDP (I think).