Hi, [EMAIL PROTECTED] wrote on 13/06/2005 14:08:40:
> Hi Ben, > > On Mon, Jun 13, 2005 at 10:06:15AM +0100, [EMAIL PROTECTED] wrote: > > > (There are still some open questions there; for > > >example, it's not too difficult to detect list comprehensions by looking > > >at the flow graphs; then instead of heuristic over-allocation for the > > >list that is being built, it's often possible to determine in advance > > >the size of the list -- e.g. because it will be the same length as > > >another list that we iterate over.) > > > > Does this mean that when you eventually come to *dynamically* annotate > > code that lists will be an annotated version of the std.listobject, or do > > you expect it to use the rpython typer as well? > > The dynamic annotation part is still unclear, but I suppose that it will > generally be done at a lower level than std.listobject. The goal is to > keep it mostly independent on the language being interpreted/compiled, > and only dependent on RPython. > ...snip... > > This is essentially how Psyco works. I am not sure about the details or > how to integrate it better with the existing annotation framework > (which, with more efforts, would give interesting hints about user > applications too, instead of just about PyPy). I am not sure if any of > this will be done as I describe above, actually. :-) What I am > reasonably sure is only that it *could* be done like this. > Thank you for the detailed explanation. I think I'll have to read it about 10 times before I fully understand it, but it's definitely helpful! Am I to understand there is another processing unit forthcoming that doesn't exist yet? (The flowgraph interpreter). I've heard its name mentioned on the irc logs a few times, and now here. Is there anywhere I can read the plans for it? Cheers, Ben > > A bientot, > > Armin. > _______________________________________________ > [email protected] > http://codespeak.net/mailman/listinfo/pypy-dev > > _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
