[IronPython] [python] Re: Announcement: ProjecttogetsomeCPython C extensions running under IronPython
Keith J. Farmer
kfarmer at thuban.org
Thu Oct 18 01:05:14 CEST 2007
I know what pointers are - I just don't like them.
In C++/CLI you'd use a caret to get a safe handle to said object.
From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of Curt
Hagenlocher
Sent: Wednesday, October 17, 2007 3:34 PM
To: Discussion of IronPython
Subject: Re: [IronPython] [python] Re: Announcement:
ProjecttogetsomeCPython C extensions running under IronPython
On 10/17/07, Keith J. Farmer <kfarmer at thuban.org> wrote:
See my earlier email. I think you *could* keep it in C, compile into
pure IL. At that point you have to deal with pointer-driven algorithms
(eg, NumPy), but you could generate safe code.
The basic data type in a CPython extension is a "PyObject *". That
asterisk there is an old-fashioned way of saying "unsafe code". :)
--
Curt Hagenlocher
curt at hagenlocher.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20071017/522de62e/attachment.html>
More information about the Ironpython-users
mailing list