Showing posts with label PyPy. Show all posts
Showing posts with label PyPy. Show all posts

Wednesday, February 6, 2013

Topaz, a new Ruby written in Python

Announcing Topaz: A New Ruby — Topaz 0.1 documentation

Seen via a post by @jnoller (Jesse Noller of the PSF) on Hacker News. It is the top post there right now.

Topaz is written in Python, using RPython, the tool that PyPy is also written in. They claim it has a fast garbage collector and a JIT. However, it is in an early version now, so not complete.

Some of the developers of other Ruby implementations, such as JRuby and Rubinius, have advised the developers of Topaz.

Interesting  ...

PyPy itself is also interesting because it is an implementation of Python written in (R)Python, and yet, I've read somewhere that it runs some Python code faster than CPython.

http://pypy.org/

- Vasudev Ram

Saturday, September 22, 2012

Nuitka, faster replacement for Python?

By Vasudev Ram


Seen via this tweet by @Phaseit. He describes it as "Python, with the speed of C++".

Nuitka

Excerpt from the Nuitka overview page above:

[ Right now Nuitka is a good replacement for the Python interpreter and compiles every construct that CPython 2.6 and 2.7 offer. It translates the Python into a C++ program that then uses "libpython" to execute in the same way as CPython does, in a very compatible way.

It is somewhat faster than CPython already, but currently it doesn't make all the optimizations possible, but a 258% factor on pystone is a good start (number is from version 0.3.11). ]

Looks interesting, must keep an eye on its progress.

Two other projects to make Python faster are Unladen Swallow that was started by Google (don't know the status as of now), and PyPy (PyPy Wikipedia page). PyPy has been funded (over time) by the European Union, Google and the Python Software Foundation.

UPDATE: Checked the Wikipedia link for Unladen Swallow above, it seems like the project is stopped. No activity since 2009 or so.

- Vasudev Ram - Dancing Bison Enterprises