[pypy-dev] C++ library bindings

Armin Rigo arigo at tunes.org
Mon Oct 27 15:09:16 CET 2008


Hi Geoffrey,

On Thu, Oct 23, 2008 at 10:30:33AM -0700, Geoffrey Irving wrote:
> If this layer is written in RPython, features like overload resolution
> and C++ methods can be written in application-level python without
> worring about safety.

I think that in this area, any worries of safety went out of the window
when CPython officially adopted ctypes.  So it's completely fine if the
application-level dispatching layer has access to unsafe features, as
long as user applications that only use the dispatching layer are
shielded from crashes.


A bientot,

Armin.



More information about the Pypy-dev mailing list