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
dansan has quit [Quit: The C preprocessor is a pathway to many abilities some consider to be unnatural.]
dansan has joined #pypy
dansan_ has joined #pypy
dansan has quit [Ping timeout: 245 seconds]
speeder39_ has quit [Quit: Connection closed for inactivity]
alexband has joined #pypy
alexband_ has joined #pypy
alexband_ has quit [Client Quit]
alexband has quit [Ping timeout: 272 seconds]
speeder39_ has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 248 seconds]
dddddd has quit [Remote host closed the connection]
glyph has quit [Quit: End of line.]
glyph has joined #pypy
adamholmberg has joined #pypy
lritter has quit [Ping timeout: 245 seconds]
adamholmberg has quit [Ping timeout: 245 seconds]
lritter has joined #pypy
dansan_ has quit [Ping timeout: 245 seconds]
lritter has quit [Quit: Leaving]
dansan_ has joined #pypy
speeder39_ has quit [Quit: Connection closed for inactivity]
dansan has joined #pypy
dansan_ has quit [Ping timeout: 245 seconds]
speeder39_ has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 245 seconds]
forgottenone has joined #pypy
oberstet has joined #pypy
_whitelogger has joined #pypy
speeder39_ has quit [*.net *.split]
igitoor has quit [*.net *.split]
awygle has quit [*.net *.split]
bendlas has quit [*.net *.split]
nimaje has quit [*.net *.split]
simpson has quit [*.net *.split]
infernix has quit [*.net *.split]
agronholm has quit [*.net *.split]
mwhudson has quit [*.net *.split]
nedbat has quit [*.net *.split]
Alex_Gaynor has quit [*.net *.split]
ssbr` has quit [*.net *.split]
norox has quit [*.net *.split]
niceplace_ has quit [*.net *.split]
kirma has quit [*.net *.split]
dpn` has quit [*.net *.split]
tos9 has quit [*.net *.split]
phlebas has quit [Ping timeout: 248 seconds]
Eyess has quit [Ping timeout: 248 seconds]
phlebas has joined #pypy
SunDwarf has joined #pypy
xcm has quit [Killed (orwell.freenode.net (Nickname regained by services))]
xcm has joined #pypy
norox has joined #pypy
kirma has joined #pypy
ssbr` has joined #pypy
niceplace_ has joined #pypy
tos9 has joined #pypy
dpn` has joined #pypy
nedbat has joined #pypy
awygle has joined #pypy
speeder39_ has joined #pypy
igitoor has joined #pypy
nimaje has joined #pypy
bendlas has joined #pypy
mwhudson has joined #pypy
infernix has joined #pypy
agronholm has joined #pypy
simpson has joined #pypy
Alex_Gaynor has joined #pypy
SunDwarf has quit [Ping timeout: 248 seconds]
SunDwarf has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
ssbr` has quit [*.net *.split]
norox has quit [*.net *.split]
niceplace_ has quit [*.net *.split]
dpn` has quit [*.net *.split]
kirma has quit [*.net *.split]
tos9 has quit [*.net *.split]
speeder39_ has quit [*.net *.split]
awygle has quit [*.net *.split]
igitoor has quit [*.net *.split]
bendlas has quit [*.net *.split]
nimaje has quit [*.net *.split]
simpson has quit [*.net *.split]
infernix has quit [*.net *.split]
agronholm has quit [*.net *.split]
mwhudson has quit [*.net *.split]
nedbat has quit [*.net *.split]
Alex_Gaynor has quit [*.net *.split]
Unode has quit [Ping timeout: 244 seconds]
nedbat has joined #pypy
nedbat has quit [Changing host]
nedbat has joined #pypy
igitoor has joined #pypy
agronholm has joined #pypy
Alex_Gaynor has joined #pypy
simpson has joined #pypy
mwhudson has joined #pypy
mwhudson has joined #pypy
mwhudson has quit [Changing host]
norox has joined #pypy
niceplace has joined #pypy
awygle has joined #pypy
tos9 has joined #pypy
dpn` has joined #pypy
nimaje has joined #pypy
ssbr` has joined #pypy
Unode has joined #pypy
bendlas has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
infernix has joined #pypy
igitoor has quit [Changing host]
igitoor has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 248 seconds]
forgottenone has joined #pypy
dddddd has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
xcm is now known as Guest33047
Guest33047 has quit [Killed (tolkien.freenode.net (Nickname regained by services))]
xcm has joined #pypy
meredydd has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
speeder39_ has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 245 seconds]
<fijal> cfbolz: did we fix any of the algorithms in finding graph cycles?
<cfbolz> fijal: more context?
<fijal> benchmark for translation crashes, like that:
<fijal> but this is a random old checkout in benchmarks
<cfbolz> I've never seen this error, doesn't ring a bell. I am not aware of any changes to this stuff in the last few years
<fijal> there are differences between checkout and what we have in benchmarks
<fijal> commits don't explain much
<fijal> *but* I had explosions while translating in benchmarks, but not on checkout
<fijal> arigato: ^^^
<kenaan> arigo py3.6 7b256d2286ec /pypy/objspace/std/: Generate a file that hopefully covers all corner cases of startswith() and endswith() on bytes, bytearrays and unicod...
xcm has quit [Ping timeout: 246 seconds]
xcm has joined #pypy
inhahe has quit [Ping timeout: 244 seconds]
inhahe has joined #pypy
<krono> hi all. I found a `signature.finishsigs` in my codebase. Does that do anything when nobody called `signature.signature` on any of the methods in the first place?
<arigato> fijal: maybe it was fixed, but already some years ago
<arigato> there were certainly very-rare random translation crashes
<fijal> arigato: so what should I do?
<fijal> assume this one no longer exists or assume this is a JIT bug?
adamholmberg has joined #pypy
<arigato> no, it's unlikely to be a JIT bug
<arigato> I'd guess it's more likely to be that you've got a new machine where the randomness is more different from what we tested so far
<arigato> in fact I remember that one of these bugs was found only on ppc
<fijal> "ah"
<fijal> ok, so I think arm64 works
<arigato> yay
<fijal> I'm unable to finish benchmark run because of this
adamholmberg has quit [Ping timeout: 246 seconds]
<fijal> but otherwise it works
<fijal> I just need to make a docker image, at one stage
<arigato> (I think the condition should be "being able to translate with everything current", if it works repeatedly then we can definitely say it works)
<fijal> yeah
<arigato> how do the other benchmarks look like?
<fijal> hard to say since after hours of running it crashes
<fijal> right?
<arigato> ok, so let me ask about just a couple of benchmarks, maybe in --fast mode
<fijal> so which one do you want?
<fijal> richard looks good
<fijal> I
<arigato> most interesting would be the compare the speed-ups with the one we get on x86-64
<arigato> richards is fine
<fijal> m *also* a bit skeptical because we are on a VM
<arigato> ok yes
<fijal> so maybe it's reliable maybe it's not
xcm has quit [Remote host closed the connection]
dansan has quit [Ping timeout: 272 seconds]
xcm has joined #pypy
<fijal> richards it's 38 times faster on my mac and 27 on ARM64
<fijal> say chameleon is 7x faster (vs 3x faster on my mac)
<fijal> django is roughly the same
<Alex_Gaynor> the same as it is on x86-64, or the same as cpython?
<fijal> the speedups pypy vs cpython are (with a large variation) similar on arm and x86
<fijal> but the variance is huge, we don't have a reliable hardware machine
<fijal> and possibly other reasons
<fijal> (you can end up with any number you want if you pick your benchmarks correctly)
adamholmberg has joined #pypy
Rhy0lite has joined #pypy
speeder39_ has quit [Quit: Connection closed for inactivity]
xcm is now known as Guest13854
Guest13854 has quit [Read error: Connection reset by peer]
xcm has joined #pypy
dansan has joined #pypy
dansan has quit [Ping timeout: 246 seconds]
forgottenone has quit [Read error: Connection reset by peer]
forgottenone has joined #pypy
dansan has joined #pypy
dansan_ has joined #pypy
dansan has quit [Ping timeout: 268 seconds]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
<cfbolz> fijal: sounds cool, small blog post?
<fijal> cfbolz: or a big one!
<fijal> ;-)
<cfbolz> Even better
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
marky1991 has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
xcm has quit [Ping timeout: 248 seconds]
catern has quit [Ping timeout: 245 seconds]
xcm has joined #pypy
<kenaan> fijal arm64 4bddf4462063 /rpython/jit/backend/aarch64/TODO: close to be merged branch
<kenaan> fijal default f3b7650ebfc0 /: merge arm64 support
catern has joined #pypy
dansan_ has quit [Ping timeout: 272 seconds]
ebarrett has quit [Ping timeout: 245 seconds]
dansan_ has joined #pypy
ebarrett has joined #pypy
<fijal> relative speedups
<Alex_Gaynor> fijal: how many lines of code in the diff were outside rpython/jit/backend/aarch64
<fijal> Alex_Gaynor: nearly 0 - there is a hack for aarch64 in translationoption which adds 3 lines and a comment
<fijal> why?
<Alex_Gaynor> fijal: Hoping for evidence that we designed the JIT backend abstraction well :-)
<fijal> I can give you some evidence that we didn't ;-)
<fijal> at least a few things could have been done a level before
<fijal> and in fact I did one branch in the meantime that did that
<fijal> moved a few things to rewrite.py, from backend
<Alex_Gaynor> hehe
<fijal> so the total amount of changes outside of the backend is >0
<fijal> *but* you can call it a cleanup
<Alex_Gaynor> the question is "is there cleanup every single time you do a new backend"
<fijal> you mean mandatory or "what the fuck I cant handle it anymore" cleanup?
<Alex_Gaynor> mandatory :-)
<fijal> no
<fijal> the thing I did should have been done a long time ago and have been incredibly isolated - it was about clearing memory
<fijal> so instead of hardcoding a call to memzero in assembler, we now create a CALL_N to memset
<fijal> or no sorry, about copying contents of unicode
<fijal> and string
dansan_ has quit [Ping timeout: 248 seconds]
<arigato> the memzeroing thing is still duplicated in all backends and will be cleanup up during the next one :-)
<fijal> arigato: so yay, thanks!
<fijal> seems to be working
<arigato> great
<fijal> I left the TODO, all those items are to-be-done-in-the-fullness of time
<arigato> OK
lritter has joined #pypy
marky1991 has quit [Ping timeout: 245 seconds]
gaze__ has quit [Ping timeout: 248 seconds]
<meredydd> Hi all! I don't want to interrupt the champagne re aarch64, but I wanted to enquire about the possibility of a bounty/paid work to update the pypy sandbox to Python 3. We use (and love) the v2 sandbox, but EOL is looming and our customers are understandably antsy. Would anyone have any interest in getting the sandbox working on a Python 3 version,
<meredydd> and if so how would I find such a person?
<meredydd> (I would volunteer, but I'm busy dragging a different Python compiler kicking and screaming into Python3-land :) )
abrown_ has joined #pypy
<arigato> hi!
abrown_ has quit [Client Quit]
<meredydd> Howdy
<arigato> the pypy sandbox requires some updates, independently of python2/python3; then there might be some issues specific to python3 doing too much stuff to sanely control with the sandbox. All in all I'd think it's not much work to get it back again, but would probably be more work in the long run to continue to have it running
abrown has joined #pypy
<meredydd> We might be OK with that, depending on the amount of work
<arigato> cool. maybe you should drop a mail to pypy-z@python.org
<meredydd> which list is that?
<arigato> that's our internal list
<meredydd> I don't see it listed publicly on mail.python.org
<meredydd> Does it accept external email?
<arigato> yes, it should. it's where we discuss money-related matters, where we could find if one of the core devs (maybe me) would be willing to help
<meredydd> Great, thanks. I'll package up my question in an email
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
<arigato> (fwiw, I just checked: the mail is mentioned on https://pypy.org/contact.html)
<meredydd> thanks; didn't see that
<meredydd> Sent; now in moderation
<arigato> accepted .-)
<ronan> meredydd: Hi! I'm happy to see the sandbox getting some love :-)
<meredydd> It's a glorious piece of "langsec", and I <3 it.
<meredydd> We use it for all free users at Anvil
<meredydd> (https://anvil.works if you haven't seen it)
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
<ronan> meredydd: yes, I know. We've met before ;-)
oberstet has quit [Remote host closed the connection]
forgottenone has quit [Quit: Konversation terminated!]
marky1991 has quit [Ping timeout: 258 seconds]
Rhy0lite has quit [Quit: Leaving]
speeder39_ has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
dansan_ has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
speeder39_ has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #pypy
webmeister has joined #pypy
dansan_ is now known as dansan
xcm has quit [Remote host closed the connection]
forgottenone has joined #pypy
xcm has joined #pypy
Taggnostr has quit [Remote host closed the connection]
Taggnostr has joined #pypy
adamholmberg has quit [Remote host closed the connection]
infernix has quit [Quit: ZNC - http://znc.sourceforge.net]
abrown has quit [Ping timeout: 245 seconds]
ronan_ has joined #pypy
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]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
ronan_ has quit [Quit: Ex-Chat]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
jcea has joined #pypy
abrown has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
infernix has joined #pypy
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]
waldhar has quit [Quit: ZNC 1.7.1 - https://znc.in]
waldhar has joined #pypy
adamholmberg has joined #pypy