Hello everybody, One more e-mail to remind you that one of the goal of the sprint was to release something at the end of the week. Did you realize that the interpreter (with the trivial object space) already works nicely enough to run the following: # python interactive.py Python 2.2.2 (#2, Nov 14 2002, 17:24:26) [GCC 2.96 20000731 (Mandrake Linux 8.2 2.96-0.68mdk)] in pypy PyPyConsole / TrivialObjSpace
import dis dis.dis(dis.dis)
I particularly enjoy the slooooooowness of the resulting disassembly dump :-) Do you think, just for the fun, that this would be worth a "release"? It would show the "outside world" that we actually got something "serious" done. Of course "serious" needs quote, given the speed of the result, but at this point everybody should know that it was planned, and that we are dreaming about top speeds involving some rather obscure translations (probably invoking strange beasts from the theory of Computer Science). A bientôt, Armin.
On Thursday 27 February 2003 15:35, you wrote:
Hello everybody,
One more e-mail to remind you that one of the goal of the sprint was to release something at the end of the week.
Did you realize that the interpreter (with the trivial object space) already works nicely enough to run the following:
No, actually not. This is brilliant.
# python interactive.py Python 2.2.2 (#2, Nov 14 2002, 17:24:26) [GCC 2.96 20000731 (Mandrake Linux 8.2 2.96-0.68mdk)] in pypy PyPyConsole / TrivialObjSpace
import dis dis.dis(dis.dis)
I particularly enjoy the slooooooowness of the resulting disassembly dump :-)
Do you think, just for the fun, that this would be worth a "release"? It would show the "outside world" that we actually got something "serious" done. Of course "serious" needs quote, given the speed of the result, but at this point everybody should know that it was planned, and that we are dreaming about top speeds involving some rather obscure translations (probably invoking strange beasts from the theory of Computer Science).
Well, at least it should be make known (but then, all the important people are reading this list anyway :-) Stephan
A bientôt,
Armin. _______________________________________________ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev
[Armin Rigo Thu, Feb 27, 2003 at 03:35:23PM +0100]
Hello everybody,
One more e-mail to remind you that one of the goal of the sprint was to release something at the end of the week.
we released something: urls into our subversion tree :-)
Did you realize that the interpreter (with the trivial object space) already works nicely enough to run the following:
# python interactive.py Python 2.2.2 (#2, Nov 14 2002, 17:24:26) [GCC 2.96 20000731 (Mandrake Linux 8.2 2.96-0.68mdk)] in pypy PyPyConsole / TrivialObjSpace
import dis dis.dis(dis.dis)
I particularly enjoy the slooooooowness of the resulting disassembly dump :-)
me, too :-)
Do you think, just for the fun, that this would be worth a "release"? It would show the "outside world" that we actually got something "serious" done. Of course "serious" needs quote, given the speed of the result, but at this point everybody should know that it was planned, and that we are dreaming about top speeds involving some rather obscure translations (probably invoking strange beasts from the theory of Computer Science).
before doing a release we should clean up any stale documentation in the wiki. Other than that a pypy-0.1 is feasible within a week's range IMO. Also the exception tracebacks are already pretty nice in that they separate interpreter and application level origins thus easing debugging. btw, I am working on nested scopes and a script that invokes all unit-tests. Might be nice for the release. Also can't we make the trivial's objspace "wrap" and "unwrap" actually do something like def wrap(self, value): return Box(value) def unwrap(self, w_value): return w_value.value with class Box: def __init__(self, value): self.value = value ? I just tried but got errors which i am investigating. They may indicate incorrect wrap/unwrap arithmetic. holger
holger krekel <hpk@trillke.net> writes:
Also can't we make the trivial's objspace "wrap" and "unwrap" actually do something like
def wrap(self, value): return Box(value) def unwrap(self, w_value): return w_value.value
with
class Box: def __init__(self, value): self.value = value
?
I think that should be "slightlylesstrivialobjspace.py" or something.
I just tried but got errors which i am investigating. They may indicate incorrect wrap/unwrap arithmetic.
Quite likely there's some of that. You also have to thoroughly rewrite trivial.py. Cheers, M. -- Every day I send overnight packages filled with rabid weasels to people who use frames for no good reason. -- The Usenet Oracle, Oracularity #1017-1
[Michael Hudson Thu, Feb 27, 2003 at 03:59:48PM +0000]
holger krekel <hpk@trillke.net> writes:
Also can't we make the trivial's objspace "wrap" and "unwrap" actually do something like
def wrap(self, value): return Box(value) def unwrap(self, w_value): return w_value.value
with
class Box: def __init__(self, value): self.value = value
?
I think that should be "slightlylesstrivialobjspace.py" or something.
I just tried but got errors which i am investigating. They may indicate incorrect wrap/unwrap arithmetic.
Quite likely there's some of that. You also have to thoroughly rewrite trivial.py.
jep, just fiddled with it. seems more involved than expected. so the trivial space remains trivial for the time being. holger
participants (4)
-
Armin Rigo
-
holger krekel
-
Michael Hudson
-
Stephan Diehl