arigato changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | mac OS and Fedora are not Windows
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 250 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 268 seconds]
<kenaan> rlamy jit-cleanup 8c0194bc5160 /rpython/: clean up uses of AbstractCPU and random stylistic issues, including a duplicated test
antocuni has quit [Ping timeout: 268 seconds]
dddddd has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 268 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 250 seconds]
xcm has quit [Ping timeout: 245 seconds]
darkman66 has quit [Ping timeout: 250 seconds]
xcm has joined #pypy
darkman66 has joined #pypy
darkman6_ has joined #pypy
darkman66 has quit [Read error: Connection reset by peer]
themsay has joined #pypy
themsay has quit [Read error: Connection reset by peer]
njs has quit [Ping timeout: 268 seconds]
realitix has joined #pypy
njs has joined #pypy
njs has quit [Client Quit]
realitix has quit [Quit: realitix]
njs has joined #pypy
realitix has joined #pypy
realitix has quit [Read error: Connection reset by peer]
k1nd0f has joined #pypy
nunatak has joined #pypy
commandoline has quit [Ping timeout: 268 seconds]
commandoline has joined #pypy
k1nd0f has quit [Ping timeout: 258 seconds]
kenaan has quit [Ping timeout: 244 seconds]
Ai9zO5AP has joined #pypy
realitix has joined #pypy
tsaka__ has quit [Ping timeout: 255 seconds]
<cfbolz> arigato: are you around?
whitewolf has quit [Ping timeout: 246 seconds]
tsaka__ has joined #pypy
<arigato> cfbolz: yes
<arigato> at least until the next power cut due to the excess snow falling since yesterday
<cfbolz> ouch
<cfbolz> arigato: I am thinking about pycket (the racket/scheme in rpython). can I simulate an endless C stack with stacklets?
<cfbolz> basically checking on recursion whether the C stack is getting close to full, and switching to a new stacklet if yes
<cfbolz> (right now it's completely stackless using explicit trampolines and classes to store all the stack data, but that's only cool in the case of tail calls, where the JIT removes all the allocations)
<arigato> so yes, mayeb
<cfbolz> arigato: call/cc would be done differently, so that's not a concern
<cfbolz> only care about running out of C stack for deep recursion
<arigato> you still need a trampoline which runs with very little stack below it, and you start a stacklet for every chain of frames, and switch away from it and back to the trampoline if needed
<cfbolz> yes, sure
<cfbolz> it's going to be hairy to implement, I suppose, but you don't see any fundamental problems with the plan, do you?
<arigato> no
<cfbolz> cool :-)
<arigato> honestly I would also consider just increasing the C stack limit, on systems where you can
<cfbolz> arigato: but that's not really enough. a lot of things are really not tail recursive, and so if you, say, want to build a big enough linked list you are going to run into trouble
<arigato> I'm not sure to see what's the difference
<cfbolz> but yes, I suppose I should delay thinking about stacklets and try with a huge C stack limit to see whether it actually helps the problems we are having
<arigato> we're comparing one huge stack and many small pieces which take exactly the same total
<arigato> the issue with one huge stack is shadowstack, though
<cfbolz> ok
<cfbolz> yes, I saw the issue too
<arigato> ok
<cfbolz> anyway, will experiment
<cfbolz> arigato: thanks :-)
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 268 seconds]
realitix_ has joined #pypy
dddddd has joined #pypy
realitix has quit [Ping timeout: 245 seconds]
realitix_ is now known as realitix
<mattip> aws gave me some credits to see if I could build arm32 on aarch64
<mattip> I can use a chroot or a docker to build, and translates
<mattip> but using it crashes
<mattip> File "rpython_jit_backend_arm.c", line 44544, in Regalloc_prepare_op_cond_call_gc_wb, Fatal RPython error: AssertionError
<cfbolz> mattip: this is a relatively new jit feature, maybe it was really never implemented for arm?
<cfbolz> arigato: any idea?
<mattip> even --jit off it fails the same way
<cfbolz> argh
<cfbolz> mattip: if you compile without a jit it works?
<mattip> ahh, but maybe what I am doing is spawning subprocesses (tests, building cffi modules)
<mattip> can try
* mattip added the cffi build to the gist
<mattip> just for completeness
<mattip> we do still run jitbackendonly on arm32 nightly tests
realitix has quit [Quit: realitix]
realitix has joined #pypy
realitix has quit [Client Quit]
realitix has joined #pypy
nunatak has quit [Quit: Leaving]
realitix has quit [Quit: realitix]
realitix has joined #pypy
realitix has quit [Client Quit]
<arigato> mattip: looking at the source, it's an assert that shouldn't be triggered, i.e. a bug
<arigato> no clue, we need a reproducer
darkman66 has joined #pypy
lritter has joined #pypy
darkman6_ has quit [Ping timeout: 245 seconds]
<mattip> arigato: would access to the machine help?
<mattip> It is the docker file I linked running on a aarch64 host
<mattip> translating -O2 seems to work fine
<arigato> yes
<mattip> running "setarch linux32 python pytest.py rpython/jit/backend/arm" prints
<mattip> Detected ARMv8; Architecture version not explicitly supported, falling back to ARMv7
k1nd0f has joined #pypy
njs has quit [Quit: Coyote finally caught me]
njs has joined #pypy
k1nd0f has quit [Ping timeout: 255 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
_aegis_ has quit [Ping timeout: 246 seconds]
_aegis_ has joined #pypy
njs has quit [Quit: Coyote finally caught me]
njs has joined #pypy
njs has quit [Client Quit]
njs has joined #pypy
antocuni has joined #pypy
k1nd0f has joined #pypy
jcea has joined #pypy
k1nd0f has quit [Ping timeout: 255 seconds]
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
Rhy0lite has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
moei has joined #pypy
adamholmberg has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
k1nd0f has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
marky1991 has quit [Ping timeout: 255 seconds]
marky1991 has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
k1nd0f has quit [Ping timeout: 268 seconds]
marky1991 has quit [Ping timeout: 246 seconds]
marky1991 has joined #pypy
darkman66 has quit [Remote host closed the connection]
Zaab1t has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
marky1991 has quit [Ping timeout: 250 seconds]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
inhahe_ has quit [Ping timeout: 245 seconds]
marky1991 has quit [Read error: Connection reset by peer]
marky1991 has joined #pypy
antocuni has quit [Ping timeout: 268 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
marky1991_2 has joined #pypy
marky1991 has quit [Ping timeout: 245 seconds]
whitewolf has joined #pypy
cadr has quit [Read error: Connection reset by peer]
cadr has joined #pypy
marky1991_2 has quit [Remote host closed the connection]
marky1991_2 has joined #pypy
marky1991_2 has quit [Remote host closed the connection]
marky1991_2 has joined #pypy
Zaab1t has quit [Quit: bye bye friends]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
Rhy0lite has quit [Quit: Leaving]
altendky has quit [Quit: Connection closed for inactivity]
darkman66 has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
tos9_ has joined #pypy
tos9 has quit [Ping timeout: 250 seconds]
tos9_ is now known as tos9
marky1991_2 has quit [Ping timeout: 250 seconds]
<cfbolz> haha, this python quine is pretty fun: https://twitter.com/fanf/status/1113804223991382017
darkman66 has quit [Remote host closed the connection]
darkman66 has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
darkman66 has quit [Remote host closed the connection]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
rtw_ has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
rtw_ has quit [Quit: Mutter: www.mutterirc.com]
rtw_ has joined #pypy
k1nd0f has joined #pypy
rtw_ has quit [Quit: Mutter: www.mutterirc.com]
moei has quit [Quit: Leaving...]
k1nd0f has quit [Ping timeout: 255 seconds]
Ai9zO5AP has quit [Quit: WeeChat 2.4]
antocuni has joined #pypy
jcea has quit [Remote host closed the connection]
lritter has quit [Quit: Leaving]
_whitelogger has joined #pypy
kenaan has joined #pypy
<kenaan> rlamy jit-cleanup ec67059fa49e /rpython/jit/: remove unused argument from test helper
<kenaan> rlamy jit-cleanup 12b8316618ca /rpython/jit/: move some utility functions from heaptracker to rpython.jit.metainterp.support