CheeseShop VS pythran

Compare CheeseShop vs pythran and see what are their differences.

CheeseShop

Examples of using PyO3 Rust bindings for Python with little to no silliness. (by aeshirey)

pythran

Ahead of Time compiler for numeric kernels (by serge-sans-paille)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
CheeseShop pythran
2 7
1 1,965
- -
3.8 8.1
7 months ago 4 days ago
Rust C++
MIT License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

CheeseShop

Posts with mentions or reviews of CheeseShop. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-11.
  • Apache Spark UDFs in Rust
    2 projects | /r/rust | 11 Jun 2021
    By comparison, PyO3 handles virtually all that boilerplate, so your Rust functions can accept and return many native Rust types and everything just works (for example). Or maybe I'm missing some fundamental difference with how JVM data are handled versus Python.
  • PyO3: Rust Bindings for the Python Interpreter
    18 projects | news.ycombinator.com | 29 Jan 2021
    At work, I'm using PyO3 for a project that churns through a lot of data (step 1) and does some pattern mining (step 2). This is the second generation of the project and is on-demand compared with the large, batch project in Spark that it is replacing. The Rust+Python project has really good performance, and using Rust for the core logic is such a joy compared with Scala or Python that a lot of other pieces are written in.

    Learning PyO3, I cobbled together a sample project[0] to demonstrate how some functionality works. It's a little outdated (uses PyO3 0.11.0 compared with the current 0.13.1) and doesn't show everything, but I think it's reasonably clear.

    One thing I noticed is that passing very large data from Rust and into Python's memory space is a bit of a challenge. I haven't quite grokked who owns what when and how memory gets correctly dropped, but I think the issues I've had are with the amount of RAM used at any moment and not with any memory leaks.

    [0] https://github.com/aeshirey/CheeseShop

pythran

Posts with mentions or reviews of pythran. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-08.

What are some alternatives?

When comparing CheeseShop and pythran you can also consider the following projects:

ffi-overhead - comparing the c ffi (foreign function interface) overhead on various programming languages

rust-numpy - PyO3-based Rust bindings of the NumPy C-API

whatlang-pyo3 - Python Binding for Rust WhatLang, a language detection library

setuptools-rust - Setuptools plugin for Rust support

dtparse - Fast datetime parser for Python written in Rust

RustPython - A Python Interpreter written in Rust

codex_py2cpp - Converts python code into c++ by using OpenAI CODEX.

rayon - Rayon: A data parallelism library for Rust

shedskin - Shed Skin is a restricted-Python-to-C++ compiler. Read the introduction below to learn about the restrictions.

py2many - Transpiler of Python to many other languages

Nuitka - Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.