WebAssembly / WebAssembly/WASI

Split interfaces to separate sleeping from reporting the time?

Open
#691 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Currently, the monotonic-clock interface includes functions for reading the current time and functions for sleeping for a given duration. In theory, some users may want to just have the ability to sleep without reading the current time, so it's worth considering splitting these into separate interfaces.

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

The issue does not name files, tests, or entry points. Start by locating the monotonic-clock interface definition and reviewing how its time-reading and sleeping functions are used. Done would require an agreed design for whether and how those capabilities should be separated.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
operating-systems
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.