12 Pythons for every programming need

Whether its speed, memory safety, portability, a micro footprint, data tools, or something else, one of these Python distros probably has it

1 2 Page 2
Page 2 of 2

The creator of Pycopy describes it as “a minimalist and memory-efficient Python implementation for constrained systems, microcontrollers, and just everything.” Pycopy is based on the MicroPython project, but has different goals. For one, it’s intended to be compatible with a much broader swath of the Python ecosystem—for instance, by allowing the user to layer in the level of compatibility needed by way of modules, instead of relying on all-or-nothing support for a given feature.

RustPython

The default Python runtime, written in C, is by many accounts high-quality code that minimizes the number of booby traps exposed by the C language. The RustPython project implements a Python runtime in the Rust language, taking advantage of Rust’s memory safety and speed. It currently supports only a subset of Python’s syntax, but it’s making steady progress. You can even try out a live demo in the browser.

MesaPy

Most Python spin-offs build on CPython. MesaPy uses the PyPy runtime instead, the better to create a Python that emphasizes security and memory safety. PyPy’s internals have additional security hardening; any remaining C source code is linted with formal verification tools; and the runtime uses the Intel SGX trusted execution environment for additional computational security. Further, external libraries normally written in C are written in Rust instead. MesaPy is as compatible with Python as PyPy itself, since it can run the benchmark suites used to gauge PyPy’s speed-ups over Python.

Copyright © 2019 IDG Communications, Inc.

1 2 Page 2
Page 2 of 2