Skip to content

Wasm support #87

@ghost

Description

I'm assuming a browser (javascript) environment. Quick thoughts:

  • Async will be unusable because AsRawFd/AsRawSocket types don't exist on wasm.
  • Timer can be perhaps be implemented by calling setTimeout() in javascript.
  • Instead of running a thread-local or work-stealing executor, just spawn tasks through javascript.
  • Blocking executor should either be normal spawn or panic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededrequest for commentsFeedback, thoughts, suggestions, opinions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions