TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Cinpy - or C in Python

36 pointsby atover 16 years ago

3 comments

jclover 16 years ago
You might also want to look at Scipy's weave:<p><a href="http://www.scipy.org/Weave" rel="nofollow">http://www.scipy.org/Weave</a><p>It's not as small or self-contained, but it looks to be more actively maintained.<p>A comparison with some other optimization methods:<p><a href="http://www.scipy.org/PerformancePython" rel="nofollow">http://www.scipy.org/PerformancePython</a>
jgrahamcover 16 years ago
So C is the new assembler. I remember the days when you optimized your C code by writing inline assembly.
petercooperover 16 years ago
Very nice. If any folks interested in Ruby are reading the article and feeling jealous, make sure to check out RubyInline ( <a href="http://www.zenspider.com/ZSS/Products/RubyInline/" rel="nofollow">http://www.zenspider.com/ZSS/Products/RubyInline/</a> ) - it's pretty solid.<p>Might do a direct comparison of the efficiency of the bridging between RubyInline and Cinpy if I get some time. I <i>suspect</i> Python would win just because Ruby's object bridging is quite intense..