[pypy-dev] offtopic, ontopic, ...

wlavrijsen at lbl.gov wlavrijsen at lbl.gov
Tue Feb 14 16:54:53 CET 2012


On Tue, 14 Feb 2012, mark florisson wrote:
>    1) C++ support
> (http://docs.cython.org/src/userguide/wrapping_CPlusPlus.html)

[.. snip ..]

> Under this model I think the first three points are particularly
> though. Could RPython in any way alleviate the countless problems with
> this approach (and how?), and would it allow the flexibility to
> implement these features, or part of them?

for the first, the bulk is there (or at least to an extend that exceeds
what is described in the above link; C++ is a large language ... ) in the
cppyy module (reflex-support branch). The C++ description info need not
come from reflex (the medium term goal is to have it come from LLVM IR),
and could be filled in from yet another source, e.g. by something that
is generated from cython. All representation of C++ objects as well as
dispatching is in rpython code, only the access to the C++ description
comes from a C api.

Not saying that it is what you're looking for, nor disagreeing that it
is "particularly tough" (it's taking a long time, after all). But it's
there and it works, proving that it can be done.

Best regards,
WLavrijsen at lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net

More information about the pypy-dev mailing list