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.

Pythran: A Python subset to C++ compiler that takes advantage of SIMD

51 pointsby maxmouchetover 9 years ago

3 comments

gamesbrainiacover 9 years ago
There are quite a few attempts to make faster python implementation these days from pypy (A JIT built on top of rpython), pyston (yet another JIT that which uses llvm as a backend), pyparallel, nukita and I&#x27;m pretty sure there are a lot more.<p>Either the python community is being very prolific, or has no clue what will actually solve the problem, hence its trying everything.
评论 #10569179 未加载
评论 #10569177 未加载
评论 #10569394 未加载
评论 #10569284 未加载
nickcwover 9 years ago
I just wondered if anyone had any insight in how this differs from shedskin - <a href="https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;shedskin&#x2F;" rel="nofollow">https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;shedskin&#x2F;</a><p>From the shedskin website: Shed Skin is an experimental compiler, that can translate pure, but implicitly statically typed Python (2.4-2.6) programs into optimized C++. It can generate stand-alone programs or extension modules that can be imported and used in larger Python programs.
评论 #10569786 未加载
toolsliveover 9 years ago
But does it retain the python semantics? for example:<p><pre><code> def fac(n): if n == 0 : return 1 else: return n * fac(n-1) print fac(100) </code></pre> will yield a big string, while any naive C++ translation will print the string &quot;0&quot; due to overflow.
评论 #10570305 未加载