[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
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 at hagenlocher.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users