Saturday, December 5, 2009

Shed Skin is Awesome

Shed Skin (http://shed-skin.blogspot.com/) is a tool that converts Python code to C++ code, realizing large performance improvements in the process. Naturally, there's some major restrictions to it -- it doesn't support all of Python's modules, and it needs to be able to infer statically all of the Python code's types.

So it's not a tool that will magically convert your Python code into C++ code without some additional work, but the changes it requires are a lot less work than converting your Python code to C++ by hand. It probably saved me a few hours' worth of work yesterday as I was converting one of my scripts to C++ to make it less agonizingly slow.

No comments:

Post a Comment

Followers