cfbolz 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 | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
jcea has quit [Ping timeout: 245 seconds]
jcea has joined #pypy
jcea has quit [Ping timeout: 250 seconds]
Dejan_ has joined #pypy
Dejan has quit [Ping timeout: 252 seconds]
Gustavo6046 has quit [Quit: ZNC 1.8.2 - https://znc.in]
Gustavo6046 has joined #pypy
proteus-guy has joined #pypy
lritter has joined #pypy
<bbot2_> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2603 [nulano: force build, winreg-audithooks]
<bbot2_> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/164 [nulano: force build, winreg-audithooks]
<bbot2_> Started: http://buildbot.pypy.org/builders/own-win-x86-64/builds/238 [nulano: force build, winreg-audithooks]
<bbot2_> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/164 [nulano: force build, winreg-audithooks]
<bbot2_> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/165 [nulano: force build, winreg-audithooks]
<bbot2_> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2603 [nulano: force build, winreg-audithooks]
<bbot2_> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7561 [antocuni: force build, hpy]
<bbot2_> Exception: http://buildbot.pypy.org/builders/own-win-x86-64/builds/238 [nulano: force build, winreg-audithooks]
<bbot2_> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/165 [nulano: force build, winreg-audithooks]
Dejan_ has quit [Quit: Leaving]
Dejan has joined #pypy
Gustavo6046 has quit [Ping timeout: 252 seconds]
Gustavo6046 has joined #pypy
Gustavo6046 has quit [Ping timeout: 240 seconds]
<bbot2_> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7561 [antocuni: force build, hpy]
Gustavo6046 has joined #pypy
muke has joined #pypy
<muke> cfbolz Hey, I'm a bit stuck getting the finish op to work, the return value doesn't seem to be getting stored properly so when the test reads it it just gets back the first argument instead
<muke> I've looked at the IR I'm generating and it all seems fine, do you have any idea of what within pypy could be happening? I've been writing into the jitframe pointer passed to the function and then just returning that pointer again, do I need to maybe allocate a new struct or something?
<cfbolz> muke: I'm not really around right now, but can you paste the ir? Also, does passing arguments *into* the trace work correctly?
<muke> cfbolz oh no worries, if you like I can detail things in an email and you can share your thoughts when you have the time, there are other things I can work on the meantime too so no rush
<cfbolz> muke: no, please show me, I'll be afk the whole next week
<muke> here's the IR
<muke> ah alright
<muke> yea I can't think of any reason the argument passing would be messing up either but I'll try and verify it from within llvm too
<cfbolz> muke: yes, I'd try that
<muke> cfbolz looks like it is to do with what's being passed, if I try and return the input arg read from the jitframe in llvm, pypy segfalts
<muke> weirdly I can still compare against whatever value it is within llvm, but it still isn't 2 like it should be
<muke> that being said, the descr field in the jitframe can still be accessed and holds the correct result, so it's the arg array specifically somehow instead of the whole jitframe
muke has quit [Remote host closed the connection]
lritter has quit [Ping timeout: 246 seconds]
<antocuni> for those interested, the first hpy blog post is ready for review: https://github.com/hpyproject/hpyproject.org/pull/3
<Dejan> antocuni, i like it
<Dejan> it is definitely useful to people like me who need something to start with
<antocuni> Dejan: thanks
<Dejan> If I find some time I will see if I can hack something to show how to use HPy to write Python extension in D
<antocuni> wow, that would be cool
<Dejan> it would be a perfect opportunity to show a good use-case for the -betterC feature
<Dejan> as D code really needs no D stuff when writing Python extension, IMHO
<antocuni> what is -betterC?
<Dejan> it is a compiler switch that completely disables D runtime
<Dejan> basically you are then using a supported subset of D language, that completely relies on C runtime
<antocuni> ok, I see
* antocuni doesn't really know anything about D
<Dejan> no probs
<Dejan> it is not a superpopular language anyway
<Dejan> I was a C++ freak not so long ago... for me C++ was THE language of choice, until D 2.0 got released...
<Dejan> (some... erm nearly 20 years ago)
<antocuni> uh, I just realized that I passed my 20th python anniversary few months ago
<Dejan> i am wrong, D2 got released in 2007, but it feels longer :)
<Dejan> anyway, whenever I target native, I use D nowadays
<Dejan> it is, IMHO, what C++ should have been
<antocuni> it's just a matter of time until someone will invent D++ :)
<Dejan> :)
<Dejan> i doubt
<Dejan> Modern C++ pretty good now
<ronny> hmm, i was a c++ freak until i understood the book modern c++ dessignm then i dropped it
<Dejan> and there are other players like Rust and Go
<Dejan> ronny, Andrei is one of the core D designers/developers, btw
<ronny> im aware ^^
<antocuni> modern c++ design was also the last c++ book which I read. Then I switched to python :)
<Dejan> Andrei is totally amazing guy...
<Dejan> I met him at DConf here in London few years ago
<Dejan> my biggest problem with C++ is that I used it when standard C++ library was not really standard
<Dejan> s/is/was/
<Dejan> but anyway, i survived as C++ developer for years...
<Dejan> C++ devs today should be happy, it is pretty decent
<ronny> im happy im out of c++, the language is big in a painful way ^^
jcea has joined #pypy
Gustavo6046 has quit [Ping timeout: 240 seconds]
Gustavo6046 has joined #pypy
<cfbolz> will start streaming in a few min: twitch.tv/pypyproject/
<tumbleweed> hrm, getting a SIGILL translating pypy3.7 3.4.1rc1 on 32-bit ARM
<tumbleweed> gdb happily disassembles it, so not sure what's illegal
<tumbleweed> any thoughts?
<ammar2> tumbleweed: could you show the raw bytes around those two addresses that you disassembled?