WebAssembly / WebAssembly/WASI

Why import stdio ports, random, wall-clock, timezone ?

Open
#789 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P-http
Dominant language
Rust
Stars
5.8k
Forks
333
Avg merge
2d 13h
Merged PRs (30d)
3

Description

The http imports world includes things it doesn't use: stdout, random numbers, and unused things from clocks (wall-clock and timezone). Should this be trimmed?

Contributor guide

Open the contributing guide

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

Review the HTTP imports world in wit-0.3.0-draft/proxy.wit at lines 5-19, focusing on the stdout, random, wall-clock, and timezone imports identified in the issue. Trace whether those imports are used by the HTTP interface, then document a clear decision on which imports should remain; completion requires agreement on the resulting scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
api
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.