Google apps
Main menu

Post a Comment On: Charlie's Second Blog

"Pypy is great"

4 Comments -

1 – 4 of 4
Blogger vak said...

hi,
BTW, do you know the current status regarding PyPy and LLVM?
regards, Valery

28 February 2009 at 06:00

Blogger Guillaume Chéreau said...

vak: I have never tried the LLVM backend of pypy so I can't help you, you should probably ask on the pypy irc channel.

2 March 2009 at 02:57

Anonymous josch said...

you say that pypy might be interesting for paroli which, when written in rpython could be translated to native code but some sentences before you realized that rpython does not support generators or yields and the principle paroli works by IS using yield to emulate concurrency - so somthing like that would only be possible by dropping the tichy concept of abusing yield to the extend as it is done in tichy/paroli

31 May 2009 at 14:15

Blogger Guillaume Chéreau said...

Josh : you are perfectly right.

The problem is that tichy needs coroutines, and the easiest way to get them in python is by using this "yield" trick, which I also find not very nice.

Another approach would have been to use python stackless, or py.greenlet library, but that wouldn't work on the arm target.

I am going to give a try at using threads - arg! - to emulate coroutines in tichy, but I am not sure that would work.

this being said, there are some other things in tichy that would make it difficult to port to rpython, for example the signal/slot system relies on deferred calls to methods with different signatures. That would also be tricky to implement in rpython.

31 May 2009 at 22:19

You can use some HTML tags, such as <b>, <i>, <a>

You will be asked to sign in after submitting your comment.
Please prove you're not a robot