Support emscripten (asm.js/wasm)
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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