greedom has quit [Read error: Connection reset by peer]
greedom has joined #pypy
<krono>
neat post!
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
<Corbin>
I have a problem and I'd like to make sure I understand my solution before implementing it, because I'm lazy. I have a functional environment where I build up a big thunk of functions representing an iterative process, and then evaluate the thunk on an input value.
<Corbin>
This is slow, despite JIT. My JIT driver is on the loop which builds the thunk (and any other loop). The JIT sees me build the thunks. But it doesn't know that that iteration is related to the evaluation of the thunk. As a result, I get JIT traces in the thunk which include a guard after every iteration of the loop; I get a new JIT compilation for every new number of iterations taken before exiting the loop early.
<Corbin>
My current hope is that I can compile to bytecode (CAM in my case, kind of like OCaml) and change my JIT driver to operate on bytecode with an instruction pointer, like other RPython interpreters. This would let the JIT uniformly see the entire process. Does this make sense?
greedom has quit [Read error: Connection reset by peer]
greedom has joined #pypy
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
lritter has quit [Ping timeout: 240 seconds]
slav0nic has joined #pypy
otisolsen70 has quit [Quit: Leaving]
greedom has quit [Remote host closed the connection]