hyperium / hyperium/hyper

Support emscripten (asm.js/wasm)

Open
#1,245 4 comments 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
16.3k
Forks
1.8k
Avg merge
1d 22h
Merged PRs (30d)
14

Description

Hyper (v0.11) currently doesn't support compiling to asm.js or wasm using emscripten because mio depends on the Unix system library. Hyper v0.10 is compiling, but I've tried a client request and apparently it can't handle a websocket correctly.

I'd like to ask if supporting emscripten is in the scope of the hyper project, and if it is, what is missing?

(Sorry if this discussion is already going somewhere else, but I couldn't find an issue for it)

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

Start by reviewing Hyper v0.11's dependency on mio and the reported Hyper v0.10 client behavior when compiled with emscripten. Investigate what prevents asm.js or wasm compilation and websocket handling; the issue does not define a concrete completion test beyond determining what support is missing.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
networking
Issue type
Feature
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.