logoalt Hacker News

dkegelyesterday at 3:26 AM1 replyview on HN

For embedded systems, see https://github.com/tinygo-org/net

For WASI, check out WASI Preview 2, https://docs.wasmtime.dev/api/wasmtime_wasi/p2/index.html


Replies

pancstayesterday at 5:59 PM

Thats the host, but the guess is missing, as stated in the issue last year "I guess we could add sockets to wasip2". To be honest, even BigGo failed me on websocket conns on both wasmtime and wazero (connects and gets into an inf loop on reply). WebWorkers and GOOS=js work like a charm tho on BigGo in FF/chrome.

show 1 reply