<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: A quick Cython introduction</title>
	<link>http://www.perrygeo.net/wordpress/?p=116</link>
	<description>Matt Perry's random adventures with geospatial technology and other tangentially related topics</description>
	<pubDate>Thu, 09 Sep 2010 16:08:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: nick</title>
		<link>http://www.perrygeo.net/wordpress/?p=116#comment-48056</link>
		<dc:creator>nick</dc:creator>
		<pubDate>Thu, 29 Jul 2010 18:09:51 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=116#comment-48056</guid>
		<description>@tom
"as long as the python install is 32 bit":
ehem, that's not the same as supporting 64bit... sorry, in my opinion requiring users to change their environment to accommodate a specific software makes that software unsuitable in a production environment.</description>
		<content:encoded><![CDATA[<p>@tom<br />
&#8220;as long as the python install is 32 bit&#8221;:<br />
ehem, that&#8217;s not the same as supporting 64bit&#8230; sorry, in my opinion requiring users to change their environment to accommodate a specific software makes that software unsuitable in a production environment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Liberzon</title>
		<link>http://www.perrygeo.net/wordpress/?p=116#comment-47907</link>
		<dc:creator>Alex Liberzon</dc:creator>
		<pubDate>Mon, 05 Apr 2010 14:01:30 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=116#comment-47907</guid>
		<description>I get an error trying to compile the c3.pyx. Both c1.pyx and c2.pyx worked fine, but not c3.pyx.</description>
		<content:encoded><![CDATA[<p>I get an error trying to compile the c3.pyx. Both c1.pyx and c2.pyx worked fine, but not c3.pyx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim</title>
		<link>http://www.perrygeo.net/wordpress/?p=116#comment-47379</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Sun, 24 May 2009 15:24:53 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=116#comment-47379</guid>
		<description>@ssam

Actually, Psyco has been working on intel/mac since 2007 and works just fine on x86_64 as long as the python install is 32 bit.

(Always google before you post.)</description>
		<content:encoded><![CDATA[<p>@ssam</p>
<p>Actually, Psyco has been working on intel/mac since 2007 and works just fine on x86_64 as long as the python install is 32 bit.</p>
<p>(Always google before you post.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: navie</title>
		<link>http://www.perrygeo.net/wordpress/?p=116#comment-47279</link>
		<dc:creator>navie</dc:creator>
		<pubDate>Thu, 06 Nov 2008 02:52:00 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=116#comment-47279</guid>
		<description>Hi , perrygeo. How about your learning of cython? I wanna ask u a question..
I noticed that the type of value that your c function returns to your .pyx def function is basic type(like int,double,etc.),and  it works well. 
However,now my c function returns a pointer p with the type (double *),which points to a list,and the p's memory is allocated by  malloc function. If I want to use the data stored in list p in my .pyx def function ,what should i do? Now I've tried to add the data in  list p into a python list,but it doesn't work and give the following error information:can't convert  to python object.. Anything can i do?</description>
		<content:encoded><![CDATA[<p>Hi , perrygeo. How about your learning of cython? I wanna ask u a question..<br />
I noticed that the type of value that your c function returns to your .pyx def function is basic type(like int,double,etc.),and  it works well.<br />
However,now my c function returns a pointer p with the type (double *),which points to a list,and the p&#8217;s memory is allocated by  malloc function. If I want to use the data stored in list p in my .pyx def function ,what should i do? Now I&#8217;ve tried to add the data in  list p into a python list,but it doesn&#8217;t work and give the following error information:can&#8217;t convert  to python object.. Anything can i do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cython: Yet another Python optimizer &#171; Rudimentary Art of Programming &#38; Development</title>
		<link>http://www.perrygeo.net/wordpress/?p=116#comment-47276</link>
		<dc:creator>Cython: Yet another Python optimizer &#171; Rudimentary Art of Programming &#38; Development</dc:creator>
		<pubDate>Sun, 02 Nov 2008 22:19:10 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=116#comment-47276</guid>
		<description>[...] Using Python to calculate great_circle circumference, then optimize the same function with Cython [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Using Python to calculate great_circle circumference, then optimize the same function with Cython [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cython: Yet another Python optimizerIns &#171; Rudimentary Art of Programming &#38; Development</title>
		<link>http://www.perrygeo.net/wordpress/?p=116#comment-47275</link>
		<dc:creator>Cython: Yet another Python optimizerIns &#171; Rudimentary Art of Programming &#38; Development</dc:creator>
		<pubDate>Sun, 02 Nov 2008 22:18:19 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=116#comment-47275</guid>
		<description>[...] Using Python to calculate great_circle circumference, then optimize the same function with Cython [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Using Python to calculate great_circle circumference, then optimize the same function with Cython [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel</title>
		<link>http://www.perrygeo.net/wordpress/?p=116#comment-47265</link>
		<dc:creator>Gabriel</dc:creator>
		<pubDate>Tue, 30 Sep 2008 03:27:29 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=116#comment-47265</guid>
		<description>Great writeup would you be willing to have it included in the Cython docs? We can add you as an author :-)

Gabriel</description>
		<content:encoded><![CDATA[<p>Great writeup would you be willing to have it included in the Cython docs? We can add you as an author <img src='http://www.perrygeo.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Gabriel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ssam</title>
		<link>http://www.perrygeo.net/wordpress/?p=116#comment-47216</link>
		<dc:creator>ssam</dc:creator>
		<pubDate>Mon, 14 Jul 2008 13:17:44 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=116#comment-47216</guid>
		<description>@psyco fans
but psyco only works on x86, not even x86 64bit.</description>
		<content:encoded><![CDATA[<p>@psyco fans<br />
but psyco only works on x86, not even x86 64bit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: perrygeo</title>
		<link>http://www.perrygeo.net/wordpress/?p=116#comment-47086</link>
		<dc:creator>perrygeo</dc:creator>
		<pubDate>Sun, 25 May 2008 23:55:43 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=116#comment-47086</guid>
		<description>@Shawn
I use vim for almost everything these days. Thanks for the heads up on Clojure; i'll have to check that out.</description>
		<content:encoded><![CDATA[<p>@Shawn<br />
I use vim for almost everything these days. Thanks for the heads up on Clojure; i&#8217;ll have to check that out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn Fumo</title>
		<link>http://www.perrygeo.net/wordpress/?p=116#comment-47085</link>
		<dc:creator>Shawn Fumo</dc:creator>
		<pubDate>Sun, 25 May 2008 23:52:10 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=116#comment-47085</guid>
		<description>Thanks a lot for this posting. I'm working on a program involving real-time knot simulation and had just re-implemented part of it in Cython.  That produced great results (brought a calculation down from 5 to 0.2), but I was still using Python's sqrt function. Taking your advice, I moved over to C's sqrtf, which brought it down to 0.04!

I have to say I'm glad for Cython's existance. I had rewrite a lot of things (much less elegant.. grr) to make it efficient, but it still beats writing in pure C. Knuth's quote is a good reminder, though. I may go back and make a couple of things clearer again now that I have a bit more of a margin to work with.

BTW, what editor are you using for your Python/Cython coding?

Also, I noticed your post on parallel programming a while back. Another thing you may want to check out is Clojure, a relatively new language built on the JVM. Two of it's strong points is concurrency and interoperability with Java libraries. The creator gave a talk here recently and I was pretty impressed, though I haven't had a chance to fuss with it myself yet.</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this posting. I&#8217;m working on a program involving real-time knot simulation and had just re-implemented part of it in Cython.  That produced great results (brought a calculation down from 5 to 0.2), but I was still using Python&#8217;s sqrt function. Taking your advice, I moved over to C&#8217;s sqrtf, which brought it down to 0.04!</p>
<p>I have to say I&#8217;m glad for Cython&#8217;s existance. I had rewrite a lot of things (much less elegant.. grr) to make it efficient, but it still beats writing in pure C. Knuth&#8217;s quote is a good reminder, though. I may go back and make a couple of things clearer again now that I have a bit more of a margin to work with.</p>
<p>BTW, what editor are you using for your Python/Cython coding?</p>
<p>Also, I noticed your post on parallel programming a while back. Another thing you may want to check out is Clojure, a relatively new language built on the JVM. Two of it&#8217;s strong points is concurrency and interoperability with Java libraries. The creator gave a talk here recently and I was pretty impressed, though I haven&#8217;t had a chance to fuss with it myself yet.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 2.290 seconds -->
