TinyGo 0.45.0 Released

(github.com)

44 points | by iaaan 2 hours ago

2 comments

  • KingOfCoders 55 minutes ago
    I'm using it to generate WASM, sadly Go with the GC/goroutine infra is not as good a WASM language than e.g. Rust which is a very simple 'binary', TinyGo works well though.
    • logicallee 47 minutes ago
      Could I ask how you do that? How do you actually build with a webassembly target? I might be interested.
      • 01HNNWZ0MV43FF 0 minutes ago
        So you want to take arbitrary code in arbitrary languages, and run it on someone else's computer inside a sandbox?

        Yes, wasm can do that.

        You can compile the code to wasm, then run it in a runtime like wasmer or wasmtime. Or you can ahead-of-time compile it with something like wasm2c, which generates C code.

      • KingOfCoders 14 minutes ago
        • logicallee 7 minutes ago
          that's really interesting, thank you. I'm not sure we're ready to use that platform, though :)
  • CylVolumeCalc 6 minutes ago
    [dead]