Tags: http-wasm/http-wasm-guest-tinygo
Tags
Updates TinyGo to use Go 1.20 features (#26) TinyGo 0.27 doesn't fully support Go 1.20, but it supports what we need. Particularly, `unsafe.SliceData` and `unsafe.StringData` were added to TinyGo 0.27 ahead of the more complete Go 1.20 version: 0.28 (not yet out). Using the approach elaborated in wazero [1.2.0](https://github.com/tetratelabs/wazero/releases/tag/v1.2.0) TinyGo examples resulted in significant performance benefits, benefits far more than just the part around the runtime. Signed-off-by: Adrian Cole <adrian@tetrate.io>