[pypy-dev] Builtin types
hpk at trillke.net
Mon Jan 27 20:22:59 CET 2003
[Samuele Pedroni Mon, Jan 27, 2003 at 08:03:40PM +0100]
> ----- Original Message -----
> From: "holger krekel" <hpk at trillke.net>
> To: "Armin Rigo" <arigo at tunes.org>; <pypy-dev at codespeak.net>
> Sent: Monday, January 27, 2003 6:00 PM
> Subject: Re: [pypy-dev] Builtin types
> > [Armin Rigo Mon, Jan 27, 2003 at 01:18:00PM +0100]
> > > Hello,
> > >
> > > On Fri, Jan 24, 2003 at 05:48:42PM +0100, Samuele Pedroni wrote:
> > > > OTOH I think a higher level of abstraction is necessary to targert more
> > > > backends.
> > >
> > > I agree with Samuele that we should not focus on ctypes or any other kind
> > > structs right now. For all of ctypes' power I believe that it is not
> > > to Python-in-Python. This will become important later, when we target C.
> > how do you intend to use any of the existing C-libraries, then?
> > Rely on CPython to provide the binding?
> > I think that progressing in the ctypes direction can happen in
> > parallel with Python-Core pythonifications. Beeing able to make
> > C-library calls (like File-IO) without specialized intermediate C-code
> > does seem like an important feature.
> The point was whether you want your builtin types "abstractions" to be directly
> ctypes based.
I took Armins posting more generally as not to do anything with ctypes
at all. If we are only talking about how to represent types, then i
agree that we shouldn't base this on ctypes now.
More information about the Pypy-dev