Re: [pypy-dev] rlb.parsing left recursion support ?

2011-05-09 Thread Carl Friedrich Bolz
On 05/08/2011 02:53 PM, Gustavo Kuerten wrote: Armin, My example is not equivalent to the actual test. But here is the snippet from test_pypackrat.py def test_leftrecursion(self): class parser(PackratParser): b: b 'a' | 'b';

Re: [pypy-dev] Allow subclassing `staticmethod` and `classmethod`

2011-05-03 Thread Carl Friedrich Bolz
Hi Ram, On 05/03/2011 01:25 PM, cool-RR wrote: In my project I made an `abstract_static_method` class: https://github.com/cool-RR/GarlicSim/blob/master/garlicsim/garlicsim/general_misc/abc_tools.py#L7

[pypy-dev] state of std library

2011-04-25 Thread Carl Friedrich Bolz
Hi all, anybody has an idea what the state of PyPy's standard library is? I assume it's at the state of CPython 2.7, right? Then there is the branch merge-stdlib, which seems to merge in the 2.7.1 changes. Why are all the modified directories deleted there? Carl Friedrich

Re: [pypy-dev] rlib parsing

2011-04-20 Thread Carl Friedrich Bolz
On 04/20/2011 12:51 AM, Ian Overgard wrote: Thanks, that definitely helped. I forgot you could run arbitrary python before the entry point. I've got it parsing now, but the one issue I'm still running into is that the syntax tree that comes back has a lot of junk nodes. The ToAST.transform

Re: [pypy-dev] File overwriting (--output flag to translate.py)

2011-04-12 Thread Carl Friedrich Bolz
On 04/11/2011 02:45 PM, p...@pocketnix.org wrote: Hi again i have been compiling a bunch of different pypy instances with different levels of optimizations and features and found that if i run pypy-c from the current directory and dont specify a new output filename it will attempt to and

Re: [pypy-dev] Pypy custom interpreter JIT question

2011-04-06 Thread Carl Friedrich Bolz
On 04/05/2011 03:54 PM, Armin Rigo wrote: Hi, On Tue, Apr 5, 2011 at 3:40 PM, Andrew Brownbrow...@gmail.com wrote: I corrected a typo and changed the wording in 2 places. They're not any huge deals, but if you want to edit the post, see my changes here:

Re: [pypy-dev] Pypy custom interpreter JIT question

2011-04-06 Thread Carl Friedrich Bolz
On 04/06/2011 04:03 PM, Andrew Brown wrote: Hmm, looks like the line numbers for the JIT trace output are mis-aligned, although it may just be my browser (Chrome beta). Looks fine in Firefox. Oh well. Can you re-load? I tried to fix it. Carl Friedrich

Re: [pypy-dev] Pypy custom interpreter JIT question

2011-04-05 Thread Carl Friedrich Bolz
On 04/04/2011 10:28 PM, Andrew Brown wrote: On Mon, Apr 4, 2011 at 2:12 PM, Antonio Cuni anto.c...@gmail.com mailto:anto.c...@gmail.com wrote: sure, I think that for this example, using fd is fine. Btw, in case you want to do more with pypy, having a look to rlib might be a

Re: [pypy-dev] Pypy custom interpreter JIT question

2011-04-04 Thread Carl Friedrich Bolz
On 04/04/2011 04:12 PM, Andrew Brown wrote: Submitted for everyone's approval, I've written a draft of a pypy tutorial going over everything I learned in writing this example interpreter. https://bitbucket.org/brownan/pypy-tutorial/src See the main document at tutorial.rst

Re: [pypy-dev] Pypy custom interpreter JIT question

2011-04-04 Thread Carl Friedrich Bolz
On 04/04/2011 05:43 PM, Andrew Brown wrote: On Mon, Apr 4, 2011 at 11:22 AM, Carl Friedrich Bolz cfb...@gmx.de mailto:cfb...@gmx.de wrote: Looks very nice! Would you be up to making a guest post out of this on the PyPy blog? Sure! What needs to be done to turn it into a blog post

Re: [pypy-dev] Regex for RPython

2011-03-10 Thread Carl Friedrich Bolz
On 03/09/2011 11:30 PM, Timothy Baldridge wrote: I know rlib has a regex module, but it seems to be limited to only recognizing characters and not returning groups. Is there a full featured regex parser somewhere that is supported by rpython? Are you just interested in the parser or also in a

Re: [pypy-dev] extradoc moved / pypy-z moved / new pypy groups

2011-03-02 Thread Carl Friedrich Bolz
Hi Holger, On 03/01/2011 07:42 PM, holger krekel wrote: I just turned http://codespeak.net/svn/pypy/extradoc as well as the internal pypy-z repository READ-ONLY. Thanks to Ronny's conversion work we now have these repositories at bitbucket.org:

Re: [pypy-dev] implementing the additional repo migrations

2011-02-27 Thread Carl Friedrich Bolz
On 02/26/2011 01:03 PM, Armin Rigo wrote: Hi Laura, On Sat, Feb 26, 2011 at 10:59 AM, Laura Creightonl...@openend.se wrote: I don't care about the old versions of binary files. That was the only thing we talked about -- as far as I understood, it was never suggested that we should stop

Re: [pypy-dev] implementing the additional repo migrations

2011-02-26 Thread Carl Friedrich Bolz
On 02/25/2011 10:36 PM, Ronny Pfannschmidt wrote: this night i started taking a look at the extra repos that need to be migrated. many of them contain reconstructible, but large pdf files, that i'd like to kill off for saving space. this shouldn't be a problem as long as the svn that many

Re: [pypy-dev] further pypy repo migrations

2011-02-21 Thread Carl Friedrich Bolz
On 02/17/2011 03:23 PM, holger krekel wrote: i'd like to continue consolidation of PyPy repositories (and more generally pypy services but that in a separate mail). Thanks to Ronny Pfannschmidt, sponsorship from merlinux (my company), and work from Armin, Anto and others the main PyPy

[pypy-dev] CfP: ICOOOLPS 2011

2011-02-18 Thread Carl Friedrich Bolz
Hi all, I think we should consider sending a paper to ICOOOLPS this year again, see call for papers below. Carl Friedrich -- Call For Papers for the sixth annual workshop on Implementation, Compilation, Optimization of Object-Oriented Languages, Programs and Systems (ICOOOLPS) to be held

Re: [pypy-dev] European sprints?

2011-02-15 Thread Carl Friedrich Bolz
On 02/15/2011 11:54 AM, Laura Creighton wrote: In a message of Tue, 15 Feb 2011 02:57:21 CST, Stephen Simmons writes: Hi... I have just started following the PyPy mailing list and am interested in getting involved in some small way. Are there any European sprints planned in the

Re: [pypy-dev] google should build a pypy phone or someone

2011-02-15 Thread Carl Friedrich Bolz
On 02/15/2011 12:51 PM, Laura Creighton wrote: In a message of Tue, 15 Feb 2011 11:36:43 +0100, Antonio Cuni writes: snip Anyway, back to the original topic: what would python offer more than jav a for android? ciao, Anto As some of you saw in Leysin, I own one of these.

Re: [pypy-dev] Compat. in 1.4.1 __del__

2011-02-05 Thread Carl Friedrich Bolz
On Saturday, February 5, 2011, Christian Tismer tis...@stackless.com wrote: Ah, we do get a warning, that is good, did not know. Anyway, the concept of RPython is pretty old, since we needed something that is treatable. And RPython is a good compromise for most things. Meanwhile, a lot of

Re: [pypy-dev] In search of references

2011-01-17 Thread Carl Friedrich Bolz
On 01/17/2011 12:30 PM, Konrad Delong wrote: Hi all, I am currently finishing up my master thesis. In it, I'd like to mention PyPy, but I think I need references to a couple of statements in order... well... not to lie :) So here it is: 1. PyPy is based on an approach first used in

Re: [pypy-dev] Continuations and sandboxing

2011-01-11 Thread Carl Friedrich Bolz
On 01/11/2011 04:48 PM, Nathanael D. Jones wrote: As far as the discussion regarding PyPy's capabilities with multiple-sandboxing, reloading, and continuation serialization go, I think that is a relevant discussion for this forum. I'm still very interested in understanding (a) what PyPy can

Re: [pypy-dev] 1.4.1 threading

2010-12-27 Thread Carl Friedrich Bolz
On 12/27/2010 07:00 AM, Dima Tisnek wrote: (dan) random binary trees: O(log2(n)) is 7.2 for builtins, though the constant factor for locks, etc, might make it worthwhile (paolo) non blocking hash maps: memory barriers can be quite costly too different options will have to be implemented and

Re: [pypy-dev] [PATCH] Improving readability of generated .c code

2010-12-14 Thread Carl Friedrich Bolz
Hi David, On 12/14/2010 01:57 AM, David Malcolm wrote: The attached patch is an attempt at extending the C code generator so that it annotates the generated .c code with file/line information for the corresponding Python sources. Method: I followed the instructions in

Re: [pypy-dev] Idea for speed.pypy.org

2010-12-13 Thread Carl Friedrich Bolz
Hi Miquel, On 12/13/2010 09:20 AM, Miquel Torres wrote: So the remaining descriptions are ai slowspitfire (what is the exact difference between the three spitfire benches?) The difference is the way the final string is built, using cstringio, or other means. I guess Maciek knows the

Re: [pypy-dev] a possible leak in the object namespace...

2010-11-30 Thread Carl Friedrich Bolz
Hi Alex, On 11/29/2010 09:02 PM, Alex A. Naanou wrote: On Mon, Nov 29, 2010 at 21:46, Carl Friedrich Bolzcfb...@gmx.de wrote: [snip] a) lots of attributes, which we expect to be rare b) access them with setattr, which is a lot slower than a fixed attribute c) access a different

Re: [pypy-dev] double trouble with JIT

2010-11-29 Thread Carl Friedrich Bolz
On 11/29/2010 02:04 PM, wlavrij...@lbl.gov wrote: Hi, with the Reflex branch, and the fast path enabled, I sometimes run into pbs with doubles in libffi. Sometimes the results are wrong, sometimes there's a crash, and sometimes there's: self =C object ffi_cif (opaque) at 0xbfb8848

Re: [pypy-dev] double trouble with JIT

2010-11-29 Thread Carl Friedrich Bolz
Hi Wim, On 11/29/2010 02:17 PM, wlavrij...@lbl.gov wrote: Could you check in a test that shows the behaviour so that I can reproduce that? It is definitely possible that there is a bug in one of the layers that has nothing to do with cppyy. simply run: $ cd pypy/module/cppyy/test $

Re: [pypy-dev] a possible leak in the object namespace...

2010-11-29 Thread Carl Friedrich Bolz
Hi Alex, On 11/29/2010 03:04 PM, Alex A. Naanou wrote: With the release of version 1.4, I decided to test these usecases out and benchmark them on PyPy and 15 minutes later I got results that were surprising to say the least... Expectations: 1) the normal/native namespace should have been a

Re: [pypy-dev] cppyy performance numbers (was: ype object 'BlackholeInterpreter' has no attribute 'bhimpl_direct_ptradd')

2010-11-26 Thread Carl Friedrich Bolz
Hi Wim, hi all, On 11/25/2010 01:32 AM, wlavrij...@lbl.gov wrote: so I'm revising my numbers after finding out that I was using a debug version of ROOT/Reflex ... PyROOT: 48.6 PyCintex: 50.2 pypy-c: 5.5 C++: 0.05 I did some benchmarks with the new fast path that I just added, it gives

Re: [pypy-dev] gdbm

2010-11-24 Thread Carl Friedrich Bolz
On 11/24/2010 01:13 AM, Dan Stromberg wrote: I've created a branch at http://codespeak.net/svn/pypy/branch/gdbm and made the proposed changes in it. I took the liberty of creating an attic directory to put dbm.py in. Any reason not to just delete dbm.py? This attic stuff is annoying, and if

Re: [pypy-dev] ype object 'BlackholeInterpreter' has no attribute 'bhimpl_direct_ptradd'

2010-11-24 Thread Carl Friedrich Bolz
On 11/23/2010 09:48 PM, wlavrij...@lbl.gov wrote: I've been banging my head on the error below. I've removed the references to lltype.direct_ptradd in my code that I'm aware of, but that didn't do the trick. I told the JIT not to look into TypeConverter._get_fieldptr, see revision 79444.

Re: [pypy-dev] Next sprint: Düsseldorf, end of Oct ober

2010-11-03 Thread Carl Friedrich Bolz
On 11/01/2010 06:02 PM, Christian Tismer wrote: On 10/1/10 11:31 AM, Armin Rigo wrote: Hi all! Düsseldorf PyPy sprint October 25th-31st 2010 = ... Hi Armin, this became a trap for me. The PyPy sprints were always listed in the sprint

Re: [pypy-dev] PyPy to generate C/C++ code

2010-09-15 Thread Carl Friedrich Bolz
Hi Amaury, On 09/15/2010 01:11 AM, Amaury Forgeot d'Arc wrote: 2010/9/15 Saravanan Shanmughamsa...@yahoo.com: I don't expect this python compiler to be for full python but just a Restricted statically typed subset of python as defined by Shedskin. Yes. JIT annotation may not serve the

Re: [pypy-dev] PyPy JIT C extensions, greenlet

2010-09-13 Thread Carl Friedrich Bolz
Hi Andy, On 09/13/2010 06:18 PM, Andy wrote: OK let me make sure I got it right: PyPy-JIT does not work with pypy-stackless. I'm mostly interested in greenlet, not stackless python. Is pypy-stackless required for greenlet support? Looks like you're saying PyPy-JIT doesn't support greenlet

[pypy-dev] Registration for S3 - A Workshop on Self-Sustaining Systems is now open.

2010-09-01 Thread Carl Friedrich Bolz
Registration for S3 - A Workshop on Self-Sustaining Systems is now open. http://www.hpi.uni-potsdam.de/hirschfeld/s3/s3-10/ We hope you will join us on September 27-28 in Tokyo. Invited speakers: • Takashi Ikegami: Sustainable Autonomy and Designing Mind Time (The University of

[pypy-dev] S3 2010 deadline extension

2010-07-31 Thread Carl Friedrich Bolz
--- Program committee --- Carl Friedrich Bolz, University of Duesseldorf, Germany Johan Brichau, Universite Catholique de Louvain, Belgium Shigeru Chiba, Tokyo Institute of Technology, Japan Brian Demsky, University of California, Irvine, USA Marcus Denker, INRIA Lille, France Richard P. Gabriel, IBM

Re: [pypy-dev] rotting buildbot infrastructure

2010-07-27 Thread Carl Friedrich Bolz
On 07/27/2010 03:42 PM, Maciej Fijalkowski wrote: Hello. According to current buildbot status, both osx and win machines are offline. No clue how to get them back. Anyway, our OS X machine is unable to translate pypy, so it's not exactly the best buildbot ever. Can anyone contribute any

Re: [pypy-dev] PyPyGTK v0.1

2010-07-24 Thread Carl Friedrich Bolz
Hi Brett, On 07/24/2010 11:06 AM, Hart's Antler wrote: http://pastebin.com/UhnEurqb Nice. Did you also see this?: http://morepypy.blogspot.com/2009/11/using-cpython-extension-modules-with.html I guess it could be used for GTK as well. BTW, I guess if we ever wanted real GTK support, without

Re: [pypy-dev] array performace?

2010-07-02 Thread Carl Friedrich Bolz
Hi Paolo, On 07/02/2010 02:08 PM, Paolo Giarrusso wrote: Unsupported claim is for example that fast interpreters are 10x slower than C. That's the only unsupported claim, but it comes from The Structure and Performance of Efficient Interpreters. I studied that as a student on VM, you are

[pypy-dev] CGO 2011 Conference

2010-07-01 Thread Carl Friedrich Bolz
Hi all, I think this conference could be interesting to us: http://www.cgo.org/cgo2011/call_papers.html From the call for papers: * Techniques for efficient execution of dynamically typed languages Deadline is 15 of September. Cheers, Carl Friedric

[pypy-dev] PyPy Master thesis sandboxing

2010-06-28 Thread Carl Friedrich Bolz
Hi all, just wanted to point this Master thesis using PyPy out: http://www.diku.dk/english/Calendar/masters_defence_soeren/ Didn't know about this, but interesting anyway. Cheers, Carl Friedrich ___ pypy-dev@codespeak.net

Re: [pypy-dev] PyPy Master thesis sandboxing

2010-06-28 Thread Carl Friedrich Bolz
On 06/28/2010 05:51 PM, Maciej Fijalkowski wrote: On Mon, Jun 28, 2010 at 7:08 AM, Carl Friedrich Bolzcfb...@gmx.de wrote: Hi all, just wanted to point this Master thesis using PyPy out: http://www.diku.dk/english/Calendar/masters_defence_soeren/ Didn't know about this, but interesting

[pypy-dev] Call for Papers: Workshop on Self-sustaining Systems (S3) 2010

2010-05-13 Thread Carl Friedrich Bolz
(Viewpoints Research Institute, USA) kim.r...@vpri.org --- Program committee --- Carl Friedrich Bolz, University of Duesseldorf, Germany Johan Brichau, Universite Catholique de Louvain, Belgium Shigeru Chiba, Tokyo Institute of Technology, Japan Brian Demsky, University of California, Irvine, USA

Re: [pypy-dev] speed.pypy.org changes

2010-04-20 Thread Carl Friedrich Bolz
Hi Miquel, On 04/20/2010 07:14 PM, Miquel Torres wrote: Changes you may notice are geared towards easing the identification of the cause of performance changes: - Std deviation was added to the DB, overview table and timeline tooltips. This way we can rule out fluctuations in the measuring as

Re: [pypy-dev] mozilla speed website

2010-04-12 Thread Carl Friedrich Bolz
On 04/12/2010 04:20 PM, René Dudfield wrote: cool. Just a little note... On ARM they are faster with the combo of jager+tracing http://arewefastyet.com/?machine=3 I read the graphs differently: Both on ARM and on the default machine the orange line (tracing) is a bit below the purple line

[pypy-dev] mozilla speed website

2010-04-10 Thread Carl Friedrich Bolz
Hi all, Just wanted to point out the website Mozilla is using to track their JIT's progress (it's quite a bit less polished then what we have, but still): http://arewefastyet.com/ As a reference jaeger refers to the new per-method JIT compiler Mozilla is writing, that is supposed to run

Re: [pypy-dev] Branches

2010-03-24 Thread Carl Friedrich Bolz
Hi Armin, On 03/23/2010 10:43 PM, Armin Rigo wrote: Can we decide if the following branches have been merged, are useful enough to be merged, need more work, maybe one day, are very outdated, or turned out just to be a plain bad idea? The numbers are the rev number of the last change.

Re: [pypy-dev] slow benchmark?

2010-03-13 Thread Carl Friedrich Bolz
Hi Waldemar, 2010/3/13 Waldemar Kornewald wkornew...@freenet.de: Hi, maybe I'm doing something totally wrong, but the attached trivial benchmark runs several times slower than on CPython. I've tested it with the Windows binary from your website. Your other benchmarks run fast, BTW. Is there

Re: [pypy-dev] cobra server at the Uni Düsseldorf

2010-03-03 Thread Carl Friedrich Bolz
Hi Armin, On 03/03/2010 10:14 AM, Armin Rigo wrote: On Thu, Feb 11, 2010 at 01:15:19PM +0100, Carl Friedrich Bolz wrote: kept and move them elsewhere? We plan to shut Cobra down on the 19th of February, if somebody cannot make it till then, please send me a mail. Cobra is still around

Re: [pypy-dev] speed.pypy.org launched

2010-02-26 Thread Carl Friedrich Bolz
On 02/25/2010 11:39 PM, Jacob Hallén wrote: Thursday 25 February 2010 you wrote: Hi Carl, error bars are certainly doable and supported by the plot lib. The only problem is that my backend model doesn't include such a field, so at the moment the data (which is certainly included in the json

Re: [pypy-dev] speed.pypy.org launched

2010-02-26 Thread Carl Friedrich Bolz
On 02/26/2010 10:59 AM, Stefan Behnel wrote: Carl Friedrich Bolz, 25.02.2010 18:38: On 02/25/2010 04:10 PM, Miquel Torres wrote: As some of you already know, there is a new performance site online: speed.pypy.org. [...] I'm quite impressed, this is very cool work and a good improvement over

Re: [pypy-dev] speed.pypy.org launched

2010-02-26 Thread Carl Friedrich Bolz
On 02/26/2010 12:30 PM, Miquel Torres wrote: The paper is right, and the unladen swallow runner does the right thing. What I meant was: use the statistically right method (like we are doing now!), but don't show deviation bars if the deviation is acceptable. Check after the run whether the

Re: [pypy-dev] speed.pypy.org launched

2010-02-26 Thread Carl Friedrich Bolz
On 02/26/2010 01:30 PM, Stefan Behnel wrote: Carl Friedrich Bolz, 26.02.2010 11:25: http://buytaert.net/files/oopsla07-georges.pdf It's sad that the paper doesn't try to understand *why* others use different ways to benchmark. I guess those others should write their own papers (or blog posts

[pypy-dev] cobra server at the Uni Düsseldorf

2010-02-11 Thread Carl Friedrich Bolz
Hi all, we need to do some server restructuring at the university and in the process need to use Cobra for other things (we will get some other machine back after the reshuffling). Sorry about the disturbance. Could people please check their home directories for things that need to be kept

[pypy-dev] Call for Papers: DYLA @ TOOLS 2010

2010-01-25 Thread Carl Friedrich Bolz
” of their contributions. Submission page is https://www.easychair.org/login.cgi?conf=dyla10 Organizers - Alexandre Bergel, Univ of Chile, - Carl Friedrich Bolz, Heinrich-Heine-Univ, Düsseldorf, Germany - Simon Denier, INRIA Lille, France - Michael Haupt, HPI Potsdam, Germany - Adrian Kuhn, Univ of Bern

Re: [pypy-dev] os.openpty

2010-01-12 Thread Carl Friedrich Bolz
Hi Jean-Paul, On 01/10/2010 05:55 PM, exar...@twistedmatrix.com wrote: I just checked in an implementation of os.openpty: https://codespeak.net/viewvc/?view=revrevision=70477 It's not all that exciting (unless you were missing it before), but it's my first PyPy commit in a while so I

Re: [pypy-dev] Special methods

2009-12-11 Thread Carl Friedrich Bolz
On 12/11/2009 12:41 PM, Armin Rigo wrote: Hi Hakan, On Fri, Dec 11, 2009 at 11:12:41AM +0100, Hakan Ardo wrote: OK I didn't know. It seems to me that it could be useful more generally... But if you're not interested I'll keep this stuff elsewhere somehow... Indeed, the current situation

[pypy-dev] Moving language implementations out of the PyPy tree

2009-12-02 Thread Carl Friedrich Bolz
Hi all, this has been discussed a few times in the past, but I actually started on this today. The idea is to no longer have the various non-Python implementations in the pypy/trunk/pypy/lang part of svn, as a first step of having a less monolithic PyPy source tree. Instead I made a new

Re: [pypy-dev] pypy.objspace.std.model.UnwrapError in socket.epoll.register

2009-11-11 Thread Carl Friedrich Bolz
On 11/11/2009 06:07 PM, Fiedzia wrote: Out of curiosity i tried to use pypy to run diesel (http://dieselweb.org/lib/). For some reason pypy in trunk doesn't add OutputType property in cStringIO (perhaps it needs some installation or postprocessing because this property is mentioned in

Re: [pypy-dev] have pypy active branches use py.lib 1.0 final

2009-08-09 Thread Carl Friedrich Bolz
Hi Samuele, Samuele Pedroni wrote: Given that py.lib 1.0 final is out, I think it makes sense to switch pypy active branches starting from trunk to use an external pointing to that. I've thought about this as well, makes sense to me! I guess at a later point we can also think about using

[pypy-dev] Europython slides

2009-06-21 Thread Carl Friedrich Bolz
Hi all, just wanted to remind that we are asked to submit the Europython slides in advance, I think the date was March 22nd (?). Unfortunately I am quite ill, so won't be able to help much with this (I need to get better to actually make it to the conference at all). Cheers, Carl Friedrich

Re: [pypy-dev] Europython slides

2009-06-21 Thread Carl Friedrich Bolz
Hi Laura, Laura Creighton wrote: In a message of Sun, 21 Jun 2009 17:07:13 +0200, Carl Friedrich Bolz writes: just wanted to remind that we are asked to submit the Europython slides in advance, I think the date was March 22nd (?). Unfortunately I am quite ill, so won't be able to help much

Re: [pypy-dev] news flash -- Europython to have a Python VM Panel talk

2009-06-10 Thread Carl Friedrich Bolz
Laura Creighton wrote: Who wants to be on it? This question is not limited to PyPyers -- I suspect that Frank Wierzbicki would like to be on this. I would like to be on the panel. Cheers, Carl Friedrich ___ pypy-dev@codespeak.net

Re: [pypy-dev] crosstwine linker

2009-06-02 Thread Carl Friedrich Bolz
Maciej Fijalkowski wrote: As usual with such products, we don't know if they implemented 100% python or 99%. Can they run existing apps? Basically, the whitepaper as it is, is not a scientific experiment because one is unable to reproduce results. I would simply ignore it until someone

Re: [pypy-dev] question on rpython stack reconstruction feature

2009-05-29 Thread Carl Friedrich Bolz
alan yung wrote: Thanks and sorry about the link. The right link is http://paste.pocoo.org/show/119296/ this. What I'm trying to do there is this: In the freeze() function, I want to stop executing the current python function, and copy the (python) frame stack, and unroll the python

[pypy-dev] Europython Sprint Announcement

2009-05-29 Thread Carl Friedrich Bolz
== Birmingham (UK) EuroPython PyPy Sprints 28-29 June/ 3-4 July 2009 == The PyPy team is sprinting at EuroPython again. This year there are `sprint days`_ before (28-29

Re: [pypy-dev] removing stablecompiler

2009-05-10 Thread Carl Friedrich Bolz
Benjamin Peterson wrote: A while ago, fijal and I were discussing how annoying it is to have to update stablecompiler every time one touches the AST of PyPy's compiler. He suggested that it had served its purpose and can now be deleted. That makes sense to me. Opinions? I agree, although

Re: [pypy-dev] PyPy 1.1 beta release

2009-04-21 Thread Carl Friedrich Bolz
Niko Matsakis wrote: On Apr 20, 2009, at 8:36 PM, Jacob Hallén wrote: I think this formulation is a bit confusing. It is not our speed that is 0.8-2x CPython, it is our performance relative to CPython that is between 0.8 and 2, with 0.8 meaning that we are faster than CPython on those

Re: [pypy-dev] PyPy 1.1 beta release

2009-04-20 Thread Carl Friedrich Bolz
Jacob Hallén wrote: söndagen den 19 april 2009 skrev Samuele Pedroni: - Through a large number of tweaks, performance has been improved by 10%-50% since the 1.0 release. The Python interpreter is now between 0.8-2x (and in some corner case 3-4x) of the speed of CPython. A large

Re: [pypy-dev] LLVM and JS backends

2009-04-17 Thread Carl Friedrich Bolz
Hi Donny, Donny Viszneki wrote: On Thu, Apr 16, 2009 at 12:54 PM, Carl Friedrich Bolz cfb...@gmx.de wrote: today we removed the LLVM and the JS backends from the trunk. Both were not really maintained anymore, there usefulness was limited and there tests were mostly skipped. The people

Re: [pypy-dev] mentoring by proxy?

2009-04-16 Thread Carl Friedrich Bolz
Hi, inhahe wrote: Hi, I overheard on the irc channel about 'mentoring', where someone who knows pypy acts as a mentor to bring someone else into deep knowledge of it, i'm assuming so they can work on pypy. I guess what you read was about the Summer-of-Code mentors. i'm not asking for a

[pypy-dev] LLVM and JS backends

2009-04-16 Thread Carl Friedrich Bolz
Hi all, today we removed the LLVM and the JS backends from the trunk. Both were not really maintained anymore, there usefulness was limited and there tests were mostly skipped. The people at the sprint decided that it would be best to remove them from the repository so that they are not part

Re: [pypy-dev] Upcoming Sprint

2009-04-07 Thread Carl Friedrich Bolz
Hi Niko, Niko Matsakis wrote: Due to the enormous time demands on my PhD, I've been out of touch lately! I follow from the blog though :) and it seems like you guys have been doing great work. When do you plan to finish the PhD? I am hoping to attend the sprint in Leysin. I would be

Re: [pypy-dev] RPython rendering of % operator

2009-03-26 Thread Carl Friedrich Bolz
Amaury Forgeot d'Arc wrote: Hello, On Thu, Mar 26, 2009 at 01:41, Ben Mellor cum...@netspace.net.au wrote: Does anyone know why lambda x, y: x % y is being converted to a flow graph as: v2 = int_mod(x_0, y_0) v1 = int_add(v2, [int_mul([int_and([cast_bool_to_int([int_le([int_xor(x_0,

[pypy-dev] JavaScript parser in Python

2009-02-23 Thread Carl Friedrich Bolz
Hi all, in case we ever get more serious about our JS interpreter, there seems to be a pure-Python port of the JavaScript parser of the Narcissus-project here: http://code.google.com/p/pynarcissus/ Automatic semicolon insertion included. Cheers, Carl Friedrich

Re: [pypy-dev] Threaded interpretation (was: Re: compiler optimizations: collecting ideas)

2009-01-04 Thread Carl Friedrich Bolz
Hi Paolo, Happy new year! I am getting back to one of the points that Anto has made which you dismissed. I still think that it is the central one to explain why we don't think that threaded interpretation is the panacea that you think it is. Paolo Giarrusso wrote: On Fri, Jan 2, 2009 at 14:23,

Re: [pypy-dev] Threaded interpretation (was: Re: compiler optimizations: collecting ideas)

2008-12-21 Thread Carl Friedrich Bolz
Hi Paolo, Paolo Giarrusso wrote: after the completion of our student project, I have enough experience to say something more. We wrote in C an interpreter for a Python subset and we could make it much faster than the Python interpreter (50%-60% faster). That was due to the usage of indirect

Re: [pypy-dev] Problem importing csv

2008-11-28 Thread Carl Friedrich Bolz
Maciej Fijalkowski wrote: Or in pypy/lib ... you can implement it using ctypes, should be super simple :-) why using ctypes? I don't think cpython's _csv is using any library. It's just done in C to be faster. So a pure-python implementaiton is fine. Cheers, Carl Friedrich

Re: [pypy-dev] sprint in Wroc?aw (PL)

2008-11-17 Thread Carl Friedrich Bolz
Hi! Bartosz SKOWRON wrote: Fijal asked me to write about possibility of making a sprint in Wroclaw. There is a possibility to set a sprint at Wroclaw University of Technology campus for free. But we have a chance to reserve a class only during winter break. This period is between 30.01 -

Re: [pypy-dev] compiler optimizations: collecting ideas

2008-11-17 Thread Carl Friedrich Bolz
Hi Daniel, sorry for the late response. Daniel Furrer wrote: As part of an advanced compiler design course at our university (ETH Zurich), we have to implement an optimization (or various thereof). I've spoken with a couple of people who are, like me, very fascinated by Python. So I would

Re: [pypy-dev] Sprint Discussions: C++ Library Bindings

2008-10-23 Thread Carl Friedrich Bolz
Hi David, David Wilson wrote: I just read about this on the PyPy status blog and find myself wondering about the strategies you considered before settling on the Reflex approach. I've had an extension to ctypes in mind for quite some time that involves simply leaving the debugging segments

Re: [pypy-dev] 2.5 and 2.4 compatibility

2008-10-10 Thread Carl Friedrich Bolz
Ondrej Certik wrote: On Mon, Sep 22, 2008 at 5:48 PM, Maciej Fijalkowski [EMAIL PROTECTED] wrote: I'm working on 2.5 compatibility branch right now. Due to incompatible changes, I suggest that we say we don't provide --pyversion option any more and simply compile 2.5 compatible interpreter. I

Re: [pypy-dev] Possible starting points

2008-09-04 Thread Carl Friedrich Bolz
Hi and welcome! Calen Pennington wrote: I've been intrigued by pypy for a while =, but haven't really been able to find a good place to start contributing on my own, so I was wondering if anyone had suggestions. As far as what I'm interested in, I'd really like to see pypy be more accessible

Re: [pypy-dev] translate.py failes

2008-09-03 Thread Carl Friedrich Bolz
Vetoshkin Nikita wrote: Playing with py.execnet failes too. Full traceback attached. It seems you are running py.execnet on py.py. Why? py.execnet is rather independent on PyPy and works fine on CPython. Cheers, Carl Friedrich ___

Re: [pypy-dev] translate.py failes

2008-09-03 Thread Carl Friedrich Bolz
Vetoshkin Nikita wrote: Thanks! I thought it should work on top of PyPy doesn't it? It probably should, but on py.py it is bound to be slow and I am not sure it works that on the remote site a py.py is started correctly. Anyway, if you work on py.execnet for helping the translation process then

Re: [pypy-dev] Translate pypy-c

2008-08-19 Thread Carl Friedrich Bolz
Bruno Gola wrote: Sorry, the right traceback: http://paste.pocoo.org/show/82667/ Anyway, mwhudson pointed that it's maybe a bug in checkFlag() (that wasn't called until now). It returns 1 or None. Trying to translate again. checkFlag was rather silly, it should just return a boolean, but it

Re: [pypy-dev] Stdlib porting

2008-08-06 Thread Carl Friedrich Bolz
Hi Bruno (ccing pypy-dev)! Bruno Gola wrote: After having some problems I finished PEP 328 and I'm starting to work on stdlib now. However, there is one test that's still failing and I can't fix it :(. It's in interpreter/test/test_nestedscope.py (lambda_in_genexpr), any hints? No clue

Re: [pypy-dev] alias for --allopts?

2008-07-13 Thread Carl Friedrich Bolz
holger krekel wrote: would be good to rename the --faassen option sometime soon Martijn asked us multiple times already for it. What about --cheetah or --falcon? other suggestions? I don't really like --falcon, falcons can only be that fast when flying downwards (crashing?). How about

Re: [pypy-dev] Changing the default magic number

2008-07-09 Thread Carl Friedrich Bolz
Hi Armin, Armin Rigo wrote: On Mon, Jul 07, 2008 at 11:31:36AM -0300, Bruno Gola wrote: I'm writing code to support the new 2.5 generator stuff (PEP 342) and while working on that I found a code that verifies the magic number (in pyframe.py). The default magic in PyPy is the Python2.4 one,

[pypy-dev] channel logs

2008-06-30 Thread Carl Friedrich Bolz
Hi all, just wanted to note that the braintone logs seem to work at the moment, so you can read the as a stopgap measure here: http://merlinux.de/braintone/chat.freenode.net/pypy/last/50/ The format is not so nice, so I would actually really like pybot back :-). Cheers, Carl Friedrich

[pypy-dev] video recordings S3

2008-05-23 Thread Carl Friedrich Bolz
Hi all, seems that the video recordings of S3 are available: http://www.swa.hpi.uni-potsdam.de/s3/program/ The talk slides of the talk I gave there can be found here: http://codespeak.net/svn/pypy/extradoc/talk/s3-2008/talk.pdf The paper that we submitted can be found here:

Re: [pypy-dev] enchancing flow objspace

2008-03-28 Thread Carl Friedrich Bolz
Maciek Fijalkowski wrote: what about making flow objspace understand xxx and XXX as global variables that always raise XxxError() instead of exploding? would simplify translation greatly. weell. That sounds like an extreme hack to me. Maybe we should do something else, like 'assert 0,

Re: [pypy-dev] JIT SoC

2008-03-28 Thread Carl Friedrich Bolz
Gary Robinson wrote: I saw the suggestion A good project would be to give the 386 backend a good refactoring, simplifying it, then add support for missing features like floating-point arithmetic. on the list of PyPy independent project suggestions. I'm wondering two things: 1) Is it

Re: [pypy-dev] Summer of Code

2008-03-18 Thread Carl Friedrich Bolz
Leonardo Santagada wrote: On 17/03/2008, at 13:23, Carl Friedrich Bolz wrote: What do you all think of these ideas? Are there other ideas around? I know that Jakub posted something a while ago (haven't looked in detail yet, though). In my opinion we should try to avoid yet another incomplete

[pypy-dev] Summer of Code

2008-03-17 Thread Carl Friedrich Bolz
Hi all, there was some discussion about possible Summer of Code topics on the #pypy channel today. We had several project ideas: - work on the JIT assembler backends. There are several possible projects here, like writing a much simpler i386 backend and adding float support to that; or

Re: [pypy-dev] Summer of Code

2008-03-17 Thread Carl Friedrich Bolz
Carl Friedrich Bolz wrote: - Anto proposed to make the javascript backendopt more useful by ^ should be backend, ___ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev

Re: [pypy-dev] Tim Bray Blog

2008-03-03 Thread Carl Friedrich Bolz
Stephan Diehl wrote: Hi all, just found this (at reddit, what a time waster :-) ): http://www.tbray.org/ongoing/When/200x/2008/03/03/Python-at-Sun At the end, he's saying: Quick Python trivia question: Near as I can tell, Guido works half-time on Python over at Google. Is there anyone in

Re: [pypy-dev] Sun's Open JDK Challenge http://openjdk.java.net/challenge/

2008-02-20 Thread Carl Friedrich Bolz
Jacob Hallén wrote: onsdagen den 20 februari 2008 skrev Chris Lamb: Laura Creighton wrote: Interested Lurkers, as it were. Are there any of you out there? Does this sound like something any of you are interested in? It sounds very interesting, but it seems that projects must be contributed

Re: [pypy-dev] Sun's Open JDK Challenge http://openjdk.java.net/challenge/

2008-02-20 Thread Carl Friedrich Bolz
Samuele Pedroni wrote: Carl Friedrich Bolz wrote: I am not sure it is practical to put parts of PyPy under this agreement. Which parts would that be? All of it (which would be hard, since we need to find all contributors and have them sign it)? Only the new bits which are rather useless

Re: [pypy-dev] Sun's Open JDK Challenge http://openjdk.java.net/challenge/

2008-02-20 Thread Carl Friedrich Bolz
Jacob Hallén wrote: onsdagen den 20 februari 2008 skrev Carl Friedrich Bolz: Samuele Pedroni wrote: Carl Friedrich Bolz wrote: I am not sure it is practical to put parts of PyPy under this agreement. Which parts would that be? All of it (which would be hard, since we need to find all

  1   2   3   >