2011/12/9 Alexander Golec <[email protected]>: > Hi Armin, > > Thanks for the answer, but I'm having a hard time wrapping my head around > this. I'm reading about object spaces, and I keep wondering how do the object > spaces find their way into the CPython interpreter. In other words, since > there is an element of partial initialization to the translation process, > what performs the initialization, and how does the initialized product find > its way into the translator? > > My current understanding is: > > - Interpret PyPy on top of CPython > - The interpreted PyPy performs partial interpretation of its own source > code until it reaches the RPython entry point
No, the program is loaded into the process which is performing the translation; this will be a translated PyPy or CPython. Then the flow objspace starts building flow graphs from an entry point defined by the program to translate. > - From that point forward, the code are handled by the flow object space to > produce code objects. > - The annotator runs and translation happens Technically, annotation drives flow graph creation, but yes. > > Is this correct? I've been spending my entire semester trying to grasp this, > but I can't seem to get the totality of it into my head. -- Regards, Benjamin _______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
