gojit
gojit copied to clipboard
JIT code-generation in Go!
``` Elliotts-MacBook-Pro15:gojit elliott$ go test unexpected fault address 0x1000 fatal error: fault [signal 0xb code=0x1 addr=0x1000 pc=0x1000] goroutine 20 [running]: runtime.throw(0x4187c48, 0x5) /usr/local/go/src/runtime/panic.go:527 +0x90 fp=0xc82003ce38 sp=0xc82003ce20 runtime.sigpanic() /usr/local/go/src/runtime/sigpanic_unix.go:27 +0x2ba fp=0xc82003ce88...
hi, it would be very interesting to be able to JIT, say, a simple reflect.Func or an equivalently simple go func(). The obvious use-case being a decoder/encoder (un|de)serialization layer... I'd...