dl icon indicating copy to clipboard operation
dl copied to clipboard

JIT compilation

Open jsimnz opened this issue 9 years ago • 1 comments

Hello,

I've been playing around with your library and so far love it. I am interested in what you see your plans are with respect to the idea of JIT compiliation so as to remove the reflect overhead.

I would love to help out on this task in whatever way possible, both because it would help the performance of the library I am making, and it just sounds like an interesting problem to solve.

jsimnz avatar Jul 28 '15 02:07 jsimnz

@jsimnz It's indeed an interesting problem to solve, but in the latest Go releases the runtime has changed a lot and I think it will continue to do so in the future. Unless the runtime internals stabilise, I don't think spending the time writing a JIT will be worth it. If you're having performance problems, you can always just use cgo directly. It will make your binaries depend in the shared library, but it might be an acceptable tradeoff depending on your needs.

rainycape avatar Dec 22 '15 07:12 rainycape