Stream: wasi

Topic: Usage of preview1 sockets


view this post on Zulip Dave Bakker (badeend) (Aug 16 2023 at 20:25):

I'm trying to collect a list of projects that make use of preview1 sockets in order to make an informed decision on them for preview2+. Are there any applications that actively make use of them?

So far I've been able to find exactly one: https://github.com/SteveSandersonMS/dotnet-wasi-sdk/blob/main/src/Wasi.AspNetCore.Server.Native/native/tcp_listener_loop.c#L37
Turns out, this is quite difficult to google for :)

view this post on Zulip Pat Hickey (Aug 16 2023 at 21:48):

I also haven't been able to find any users, you've found one more than I have known about

view this post on Zulip YAMAMOTO Takashi (Aug 22 2023 at 10:42):

if test programs like this count https://github.com/yamt/garbage/tree/master/wasm/httpd

view this post on Zulip YAMAMOTO Takashi (Aug 22 2023 at 10:44):

iiuc, it's more common to use runtime-dialects of socket api (at least wamr, wasmedge, wasmer provide their own dialects) as preview1's socket support is very limited.

view this post on Zulip YAMAMOTO Takashi (Aug 22 2023 at 10:45):

eg. https://www.docker.com/blog/docker-wasm-technical-preview/ was using wasmedge dialect when i looked at it

Learn more about the Docker+Wasm Technical Preview that lets all developers quickly and easily build applications that target Wasm runtimes.

view this post on Zulip Pat Hickey (Aug 22 2023 at 14:41):

Yes that is what I expected as well

view this post on Zulip Dave Bakker (badeend) (Aug 22 2023 at 15:23):

Thanks for your input. That's what I've found so far too


Last updated: Oct 23 2024 at 20:03 UTC