Re: [C++-sig] [Python-Dev] #ifdef __cplusplus?

2009-01-02 Thread David Cournapeau
Hi Matthis, On Sat, Jan 3, 2009 at 3:31 AM, Matthieu Brucher wrote: > > When I learnt C, I was always told to explicitely cast. Maybe your professor was used to old C :) It is discouraged practice to cast malloc - the only rationale I can think of nowadays is when you have to compile the sourc

Re: [C++-sig] new to python; old to C++

2008-11-02 Thread David Cournapeau
Greg Landrum wrote: > On Sat, Nov 1, 2008 at 12:48 PM, Paul Melis <[EMAIL PROTECTED]> wrote: > >> I'd like to see proof of the claim that SWIG's wrapper code is >> inefficient. In my experience it is not more inefficient than what, for >> example, boost.python via Py++ provides. >> > > I wa