Skip to content

Conversation

@aaradhychinche-alt
Copy link

Summary

This PR improves Go development documentation by adding a new section for native Go (Go 1.21+) WASI support.

Changes

  • Added documentation for using native Go (Go 1.21+) with WASI on WasmEdge
  • Documented differences between TinyGo and native Go
  • Explained WASI networking limitations and available workarounds
  • Updated existing TinyGo docs to reference native Go WASI support

Motivation

Go 1.21 introduced native WASI support. The existing documentation focused only on TinyGo and contained outdated information. This PR addresses that gap and helps developers who require functionality not fully available in TinyGo.

Related Issue

Closes #152

Signed-off-by: Aaradhy Chinche <aaradhychinche@gmail.com>

git push --force-with-lease
@aaradhychinche-alt
Copy link
Author

@hydai can you review the pr when you have time ? Thank You !!

Signed-off-by: Aaradhy Chinche <aaradhychinche@gmail.com>
Signed-off-by: Aaradhy Chinche <aaradhychinche@gmail.com>
@aaradhychinche-alt
Copy link
Author

aaradhychinche-alt commented Jan 20, 2026

@hydai
All requested changes have been addressed.

Added a complete Hello World example to verify the native Go WASI workflow end-to-end.

Added a minimal host function import example with an official Go reference.

Fixed documentation links so native Go WASI docs are discoverable from the TinyGo page.

Added clarification and an explicit reference for stealthrocket/net, noting it as an external workaround for WASI networking limitations.

Thanks for the detailed review please let me know if there’s anything else I should adjust.

Signed-off-by: Aaradhy Chinche <aaradhychinche@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Add a more detailed section on developing in Go

2 participants