-
wasm生成用にwasm_xxx.goと分けていて、確か、
- goroutine呼び出していたため(?)ビルドできても確か動かなかった(tinygoだから?)
- spreaderあたりのどこかのエンコードパッケージがコンパイルできなかった?ような(これはtinygo由来だったと思う)
の理由があって分けてた。今は、
- goroutineを意図的に呼ばない処理を作った
- もしか…
-
The current system works but enlists an allocation and memcopy when it calls runtime_stringFromBytes.
The go compiler team did this with their commit:
https://github.com/golang/go/commit/f5f5a…
-
The current implementation requires the guest to expose the `malloc` function.
https://github.com/inspektor-gadget/inspektor-gadget/blob/7a3e62698bbc6ed763ea0b448197de2e093ed510/pkg/operators/wasm…
-
As outlined in https://github.com/tinygo-org/tinygo/issues/447, TinyGo should support common serialization formats. While most people may think of JSON, I personally want TinyGo to support [protocol b…
-
Hello!
I've been testing my new Pico W
I've started with DHCP example and it works exactly 1/2 of the times (after success follows fail and after success again)
I understand that issue may be wit…
-
Hi,
Could some one please be clear on the current level of support offered by `tinygo` for the `net/http` package when building for a `wasm` target, but where the `wasm` binary will be executed in …
-
```go
package main
import (
"net/http"
"log"
)
func helloHandler(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("Hello, TinyGo!"))
}
func main() {
mux := http…
-
```go
$ cat precomp.go
package main
import (
"crypto/sha256"
"fmt"
"os"
)
var (
tag = sha256.Sum256(nil)
globalMap = map[string][32]byte{
"": tag,
}
)
func main() {
…
-
I use envoy, but have projects where i need pure baremetal golang and browsers.
Tinygo is now working with go modules and JSON via a hack that will be sorted soon i think.
Caddy v2 is pretty power…
-
now that we have added support for wasip2 to tinygo, i am wondering if we can add support for that in net/http package. The generated bindings are little raw for endusers, and most folks end up develo…