dl
dl copied to clipboard
JIT compilation
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 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.