Re: [go-nuts] Slow 64 bit integer division on amd64

2016-11-07 Thread andrew_chambers
I imagine the new SSA backend can do this with its pattern matching, but you would need to look for it here: https://github.com/golang/go/blob/master/src/cmd/compile/internal/ssa/gen/generic.rules or https://github.com/golang/go/blob/master/src/cmd/compile/internal/ssa/gen/AMD64.rules Maybe some

[go-nuts] Re: Is it possible to bundle LuaJIT binary together with Go executable?

2016-11-07 Thread andrew_chambers
There are a few ways to embed binary data inside a Go executable, mainly using go generate to create a const byte slice. At runtime you could then extract the binary, though this probably might make some anti virus products mad at you. On Tuesday, November 8, 2016 at 2:38:48 PM UTC+13, ChrisLu