Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASI: Implement sock_accept() for snapshot1 #2377

Closed
sinclairzx81 opened this issue Jun 22, 2022 · 4 comments
Closed

WASI: Implement sock_accept() for snapshot1 #2377

sinclairzx81 opened this issue Jun 22, 2022 · 4 comments

Comments

@sinclairzx81
Copy link

sinclairzx81 commented Jun 22, 2022

Hi, was wondering if https://deno.land/std@0.144.0/wasi could implement the sock_accept function on the current preview1 snapshot. I note that this function was included in the WASI snapshot a little while ago (see WebAssembly/WASI#458), but would be quite good to see implemented in Deno (effectively allowing Deno to host network processes implemented in WASM).

Would this be possible?

@bartlomieju
Copy link
Member

CC @cjihrig

@cjihrig
Copy link
Contributor

cjihrig commented Jun 22, 2022

I think it makes sense to support this.

@cjihrig
Copy link
Contributor

cjihrig commented Jun 24, 2022

There was a bunch of discussion about this today in Discord starting from roughly here. This may be blocked on not wanting an op in core for performing accept().

@iuioiua
Copy link
Collaborator

iuioiua commented Nov 3, 2023

Closing this, as std/wasi is now deprecated. If you still need to use WASI in Deno, use wasmer-js instead.

@iuioiua iuioiua closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants