cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | so many corner cases, so little time
<exarkun> arigato: But I have to guess what the compiler did when it built libc, right?
<arigato> yes it's not a portable solution
<arigato> using the ABI mode for a portable access to things like sockaddr_in is really not possible, because that's completely non-portable
<exarkun> makes sense, thanks
greedom has joined #pypy
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
Guest96 has joined #pypy
Guest96 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest96 has joined #pypy
Guest96 has quit [Client Quit]
greedom has quit [Read error: Connection reset by peer]
greedom has joined #pypy
greedom has quit [Remote host closed the connection]
lritter has joined #pypy
Guest96 has joined #pypy
otisolsen70 has joined #pypy
<cfbolz> I finally posted the "how is pypy tested?" blog post: https://www.pypy.org/posts/2022/04/how-is-pypy-tested.html
Guest96 has quit [Quit: Textual IRC Client: www.textualapp.com]
greedom has joined #pypy
<Corbin> I liked the blog post.
<mattip> +1
greedom has quit [Ping timeout: 250 seconds]
greedom has joined #pypy
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]
slav0nic has quit [Ping timeout: 260 seconds]