Re: [Cython] OpenMP support

2011-03-08 Thread Hoyt Koepke
Apologies for the OT post, but a quick FYI: I've been using openmp
with cython pretty extensively, usually wrapped in static inline or
template functions in a separate header.  However, I've been hindered
by a strange bug that seems to appear when python loads gomp, gcc's
openmp implementation (http://bugs.python.org/issue11275).  For me, it
causes matplatlib to become unusable. I don't know if it's a bug in
matplotlib, in python, in gcc, or what -- a better programmer than me
could probably track it down -- but it has definitely made working
with openmp/cython a pain.

-- Hoyt

++++++++
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoy...@gmail.com
++
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] Utility Codes and templates

2011-07-22 Thread Hoyt Koepke
I know I'm a little late to the discussion, but I've been meaning to
ask about a feature like this myself.

As a point of information, Mako (http://www.makotemplates.org/) might
be a bit heavyweight for embedding in cython (I don't know for sure;
haven't looked at the source).  One
selling point, however, is that it is already used with cython code in
scipy (see,
e.g., 
https://github.com/scipy/scipy/blob/master/scipy/interpolate/interpnd.pyx).

--Hoyt

++++++++
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoy...@gmail.com
++
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] Utility Codes and templates

2011-07-22 Thread Hoyt Koepke
> Hoyt Koepke, 22.07.2011 18:48:
>>
>> I know I'm a little late to the discussion, but I've been meaning to
>> ask about a feature like this myself.
>
> It's not exactly a feature, rather an internal developer tool.

Ah, I see; didn't read things closely enough.  Sorry for the OT post then.

> Well, SciPy isn't a dependency of Cython either, so I think that doesn't
> count much.

True; my point was just that it was a use case of the user-space
templating feature idea; but, given that this OT for this thread, I
definitely agree with you :-)

-- Hoyt


+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoy...@gmail.com
++
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel