Runtime code generation and execution in Go (mathetake.github.io)
from tedu@inks.tedunangst.com to inks@inks.tedunangst.com on 29 May 2024 21:26
https://inks.tedunangst.com/l/5124

wazero is an extremely unique and rare piece of production software out there in the Go ecosystem in the sense that it generates semantically equivalent x86-64 and AArch64 machine code from WebAssembly bytecode at runtime, and then provides the API to execute and interact with it with zero dependency, hence without CGo.

This post is decoupled from wazero itself, and I’ll focus on the general concept of runtime code generation and execution in Go.

#go #jit #programming

#go #inks #jit #programming

threaded - newest