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 | Matti: I made a bit of progress, the tests now only segfault towards the end
f4at has quit [Quit: bye]
f4at has joined #pypy
Lightsword has quit [Quit: ZNC]
Lightsword has joined #pypy
Lightsword has quit [Quit: ZNC]
Lightsword has joined #pypy
jacob22 has quit [Quit: Konversation terminated!]
jacob22 has joined #pypy
jacob22 has quit [Ping timeout: 272 seconds]
Lightsword has quit [Quit: ZNC]
Lightsword has joined #pypy
<fijal> mattip:
<fijal> I think that's the first problem?
<fijal> also can I get emacs from homebrew?
<fijal> (pkg-config might not be a problem, just yet)
otisolsen70 has joined #pypy
Heston has quit [Ping timeout: 255 seconds]
<mattip> did you mean to type pkg-config or pkg_config ?
<cfbolz> ok, I'm making stat 25% faster and 2.4x without the jit
<mattip> I brew installed emacs
<mattip> fijal ^^^
<fijal> thank you
<fijal> mattip: today is a bit patchy, I don't know how much I'll do
otisolsen70 has quit [Quit: Leaving]
<mjacob> kurisu: why not?
f4at has quit [Quit: bye]
f4at has joined #pypy
lritter has joined #pypy
<arigato> kurisu: some python-isms can help you: for example, you could write
<arigato> def f(x,y): ...
<arigato> def g(x,y): ...
<arigato> for myfunc in [f, g]: globals()[myfunc.__name__]=ffi.def_extern()(myfunc)
<arigato> or maybe less obscurely:
<arigato> ext=ffi.def_extern("some signature")
<arigato> @ext
<arigato> def f(x,y): ...
<arigato> @ext
<arigato> def g(x,y): ...
<arigato> or, if you have another solution where the functions are partials/closures/etc., then yes, that works too, as long as you call ffi.def_extern() only once for each C extern "Python" function name
f4at has quit [Quit: bye]
bxsx has joined #pypy
mgorny has quit [Read error: Connection reset by peer]
sam_ has quit [Ping timeout: 250 seconds]
mgorny has joined #pypy
sam_ has joined #pypy
Guest96 has joined #pypy
Guest96 has quit [Client Quit]
marvin_ has quit [Remote host closed the connection]
marvin has joined #pypy
f4at has joined #pypy
bxsx has quit [Quit: leaving]
alice has quit [Remote host closed the connection]
alice has joined #pypy
sam_ has quit [Quit: ZNC - http://znc.in]
mgorny has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mgorny has joined #pypy
sam_ has joined #pypy
Dejan has quit [Quit: Leaving]