WebAssembly #93

Open
opened 2022-09-10 19:45:28 +00:00 by sam · 0 comments
Owner

Is your feature request related to a problem? Please describe.
It would be nice in the far off future when Go binaries aren't fat that webassembly could be supported so any DNS requests would be made client-side.

Describe the solution you'd like

  • Making sure the program compiles under GOOS=js GOARCH=wasm
  • Actually test the program under wasm
  • Make a client-based online DNS tool 🙂

Describe alternatives you've considered

  • The binary the Go compiler spits out is about 15 MB stripped, which is unacceptable.
  • TinyGo will probably never work because net/http, encoding/json and the DNS library do not compile underneath it.

Additional context
Just documenting an extremely low priority idea of mine :)

**Is your feature request related to a problem? Please describe.** It would be nice in the far off future when Go binaries aren't fat that webassembly could be supported so any DNS requests would be made client-side. **Describe the solution you'd like** - [x] Making sure the program compiles under `GOOS=js GOARCH=wasm` - [ ] Actually test the program under wasm - [ ] Make a client-based online DNS tool 🙂 **Describe alternatives you've considered** - The binary the Go compiler spits out is about 15 MB _stripped_, which is unacceptable. - TinyGo will probably never work because `net/http`, `encoding/json` and the DNS library do not compile underneath it. **Additional context** Just documenting an extremely low priority idea of mine :)
sam added the
enhancement
Priority: Low
labels 2022-09-10 19:45:28 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sam/awl#93
No description provided.