tag:blogger.com,1999:blog-8724479949460106754.post8987449964038945198..comments2023-03-30T02:53:48.104-07:00Comments on Charlie's Second Blog: Pypy is greatGuillaumehttp://www.blogger.com/profile/04248189602756889056noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-8724479949460106754.post-87785808442900705642009-05-31T22:19:25.860-07:002009-05-31T22:19:25.860-07:00Josh : you are perfectly right.
The problem is th...Josh : you are perfectly right.<br /><br />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.<br /><br />Another approach would have been to use python stackless, or py.greenlet library, but that wouldn't work on the arm target.<br /><br />I am going to give a try at using threads - arg! - to emulate coroutines in tichy, but I am not sure that would work.<br /><br />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.Guillaume Chéreauhttps://www.blogger.com/profile/05367152763264281576noreply@blogger.comtag:blogger.com,1999:blog-8724479949460106754.post-76939475681364074472009-05-31T14:15:43.940-07:002009-05-31T14:15:43.940-07:00you say that pypy might be interesting for paroli ...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/parolijoschnoreply@blogger.comtag:blogger.com,1999:blog-8724479949460106754.post-80066575495988676682009-03-02T02:57:00.000-08:002009-03-02T02:57:00.000-08:00vak: I have never tried the LLVM backend of pypy s...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.Guillaume Chéreauhttps://www.blogger.com/profile/05367152763264281576noreply@blogger.comtag:blogger.com,1999:blog-8724479949460106754.post-57050482462572267732009-02-28T06:00:00.000-08:002009-02-28T06:00:00.000-08:00hi, BTW, do you know the current status regarding ...hi, <BR/>BTW, do you know the current status regarding PyPy and LLVM?<BR/>regards, Valeryvakhttps://www.blogger.com/profile/13157594553222689990noreply@blogger.com