cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "the modern world where network packets and compiler optimizations are effectively hostile"
rokujyouhitoma has quit [Ping timeout: 248 seconds]
asmeurer_ has quit [Quit: asmeurer_]
asmeurer_ has joined #pypy
asmeurer_ has quit [Read error: Connection reset by peer]
Tiberium has quit [Remote host closed the connection]
asmeurer has joined #pypy
asmeurer has quit [Quit: asmeurer]
asmeurer has joined #pypy
asmeurer has quit [Client Quit]
vkirilichev has quit [Ping timeout: 260 seconds]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
oberstet has quit [Ping timeout: 260 seconds]
vkirilichev has joined #pypy
mattip has left #pypy ["bye"]
ronan has joined #pypy
rubdos has quit [Ping timeout: 260 seconds]
vkirilichev has quit [Ping timeout: 246 seconds]
rubdos has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
ronan has quit [Quit: Ex-Chat]
<bn_>
is libunwind required for building on OSX? AFAICT it doesn't seem to support OSX yet
<bn_>
the doc seems to imply it's optional, but from what I can tell of what it does, it sounds important when debugging?
<bn_>
s/doc/docs/
yuyichao has quit [Read error: No route to host]
<bn_>
ok, so compiling (or translating per http://pypy.readthedocs.io/en/latest/build.html#install-build-time-dependencies) on OSX 10.5.X I get "OSError: clang: [Errno 2] No such file or directory", what file is it looking for? Also, how do I change it so it uses "mmacosx-version-min=10.5" VS 10.7? (I tried passing it in as an option in various forms but that didn't seem to work). Full error output: https://pastebin.com/GrzrdW8b
vkirilichev has joined #pypy
rokujyouhitoma has joined #pypy
marky1991 has joined #pypy
rokujyouhitoma has quit [Ping timeout: 276 seconds]
<marky1991>
cpython takes ~2.5 seconds on bmy machine
<marky1991>
but pypy takes ~33
<marky1991>
should I file an issue for that?
<marky1991>
i know it's nonsense code, but the difference seems extreme
<marky1991>
can rpython not handle this?
<marky1991>
I have another rpython interpreter and I was comparing times with the python equivalent
<marky1991>
idiomatic python beats my interpreter by a mile, which is sad
<marky1991>
but i tried doing a direct translation to see how it compared
<marky1991>
my interpreter does it in only 1.7s, so I guess it can't be a problem with rpython itself
<simpson>
Is your interpreter designed around recursion instead of iteration?
<marky1991>
yes, mine is
<marky1991>
i know python isn't, but I'm surprised pypy vs cpython is so differenet here
<simpson>
I have no idea why PyPy doesn't do well here other than that it wasn't designed for this situation.
vkirilichev has quit [Ping timeout: 255 seconds]
<bn_>
hmm, looks like mmacos-version-min is being set in rpython/translator/platform/darwin.py maybe? but... I wonder if I shouldn't even bother now if performance is that bad?
oberstet has joined #pypy
rokujyouhitoma has joined #pypy
asmeurer has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
Taggnostr has quit [Remote host closed the connection]
Taggnostr has joined #pypy
asmeurer has quit [Client Quit]
vkirilichev has joined #pypy
Taggnostr has quit [Remote host closed the connection]
Taggnostr has joined #pypy
marr has quit [Ping timeout: 260 seconds]
asmeurer__ has joined #pypy
tormoz has joined #pypy
asmeurer__ has quit [Quit: asmeurer__]
mattip has joined #pypy
marky1991 has quit [Ping timeout: 268 seconds]
<mattip>
bn_: libunwind is used for the vmprof statistical profiler, which uses it to determine which function is currently being called
gclawes has joined #pypy
asmeurer has joined #pypy
<mattip>
bn_: and in your pastebin, the error would be produced from running line 6 at a command line
<mattip>
bn_: also, 10.7 is the min version for reasons stated in rpython/translator/darwin.py,
<mattip>
which I found by grepping in the sources
rokujyouhitoma has joined #pypy
<bn_>
mattip: thanks, it was bumped up in a commit a while back, I was going to try go git clone it and rewind to that commit but it looks like you guys use hg and upon looking back at the tool that originally had this as a dependency, I just noticed it is missing a key feature, so this may be moot actually :) but appreciate the help though, may revisit this in the future!
rokujyouhitoma has quit [Ping timeout: 255 seconds]
marr has joined #pypy
<mattip>
bn_: cool, ggod luck
<mattip>
good
<bn_>
cheers!
bn_ has left #pypy [#pypy]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
mattip has left #pypy ["bye"]
<kenaan>
mattip cpyext-add_newdoc 641767ad7623 /pypy/: merge default into branch
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
oberstet has quit [Quit: Leaving]
_whitelogger has joined #pypy
vkirilichev has quit [Remote host closed the connection]
tbodt has joined #pypy
tbodt has quit [Ping timeout: 240 seconds]
tbodt has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]