microsoft / microsoft/vscode-wasm

Implement WASI Preview 2 Sockets

Open
#179 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request
Dominant language
TypeScript
Stars
456
Forks
40
Avg merge
3d 2h
Merged PRs (30d)
4

Description

I know you're already working (or will work) on supporting Preview 2.
It would be important to support the sockets component, both when targeting a runtime like Node.js, or the browser.

Use case: rewriting an extension which uses the Node.js net.Socket or tls.TLSSocket in WebAssembly.

Supported runtimes:

  • Node.js: binding to TCP socket via Node.js APIs
  • Browser: wrapping a WebSocket instance

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by reviewing the existing WASI Preview 2 support and the Node.js net.Socket/tls.TLSSocket and browser WebSocket entry points; done means sockets work in both listed runtimes.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, wasm
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.