1 Oct 2005 19:59
Re: Re: Project suggestions
Armin Rigo <arigo <at> tunes.org>
2005-10-01 17:59:25 GMT
2005-10-01 17:59:25 GMT
Hi Aurelien, On Sat, Oct 01, 2005 at 02:44:50PM +0200, Aur?lien Camp?as wrote: > I would tend to provide a huge prelude implemeting a close aprox. of > those in CL (it is my plan). Yes, this would be possible. I suppose even dark corners like dictionary with user-specified ways of computing the hash of keys could be done this way. > >and then there are > >rather more obscure annotations like SomePBC() that are quite involved. > >Just to frighten you a bit, you'd also need at some point to do > >something like pypy/rpython/normalizecalls.py(Continue reading)> > I can't really be frightened by something I don't know about nor > understand ... That's the problem, I suppose. RPython is larger and more delicate than it seems to be at first. After a lot of trashed efforts in GenC, we eventually found out the correct approach, which is: > >What we have in mind is to support targets like CL by a modified RTyper > >(pypy/rpython/r*.py); it means that there would be an additional > >processing step between the graph-with-annotations and the CL backend > >which would simplify the graphs and replace complex operations and > >annotations with more primitive ones. This will make the task of the > >backend far easier. Compare the flow graphs after annotation and after rtyping (e.g. with
>
> I can't really be frightened by something I don't know about nor
> understand ...
That's the problem, I suppose. RPython is larger and more delicate than
it seems to be at first. After a lot of trashed efforts in GenC, we
eventually found out the correct approach, which is:
> >What we have in mind is to support targets like CL by a modified RTyper
> >(pypy/rpython/r*.py); it means that there would be an additional
> >processing step between the graph-with-annotations and the CL backend
> >which would simplify the graphs and replace complex operations and
> >annotations with more primitive ones. This will make the task of the
> >backend far easier.
Compare the flow graphs after annotation and after rtyping (e.g. with
RSS Feed