Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 4452a62

Browse files
authored
doc: updates the latest Go toolchain dev on why TinyGo (#446)
Signed-off-by: Takeshi Yoneda <[email protected]>
1 parent 9456a1b commit 4452a62

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

doc/OVERVIEW.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,10 @@ This document explains the things you should know when writing programs with thi
1212

1313
# TinyGo vs the official Go compiler
1414

15-
This SDK relies on the TinyGo, a compiler implementation of Go programming language specification. So first of all, we answer the question "Why not the official Go?".
16-
17-
There are several reasons why we cannot use the official Go compiler. Tl;dr is that as of this writing, the official compiler cannot produce Wasm binary which can run outside web browsers, and therefore cannot produce Proxy-Wasm compatible binaries.
18-
19-
For those who are insterested in the detail, please refer to the related issues in the Go repository:
20-
- https://github.com/golang/go/issues/25612
21-
- https://github.com/golang/go/issues/31105
22-
- https://github.com/golang/go/issues/38248
15+
This SDK relies on the TinyGo, a compiler implementation of Go programming language specification.
16+
So first of all, we answer the question "Why not the official Go?".
17+
As of this writing, the official compiler cannot produce Proxy-Wasm compatible binaries since the exported functions are not supported in the official Go compiler yet.
18+
Please refer to the [discussion](https://github.com/golang/go/issues/65199), which has already been accepted as a proposal.
2319

2420
# Wasm VM, Plugin and Envoy configuration
2521

0 commit comments

Comments
 (0)