CPython VS RustPython

Compare CPython vs RustPython and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
CPython RustPython
1,313 96
59,531 17,539
1.6% 2.0%
10.0 9.6
1 day ago 4 days ago
Python Rust
GNU General Public License v3.0 or later MIT 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.

CPython

Posts with mentions or reviews of CPython. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-21.
  • Employee Management System using Python.
    2 projects | dev.to | 21 Apr 2024
    Dealing with piles of papers or scattered Excel sheets for employee information can be a real headache, right? Well, what if I told you there's a smoother way to handle all that? A system that lets you easily store, update, and find details about your employees in just a few clicks. Sounds neat, doesn't it? In this article, we're going to explore creating an employee management system using Python, Tkinter, and SQLite3.
  • Build a Product Receipt Generator using Python.
    1 project | dev.to | 20 Apr 2024
    Python is a versatile tool, and today we're delving into a practical use case that can simplify your daily routines. With the datetime module at your disposal, handling dates and times becomes a breeze, making it perfect for crafting accurate and dynamic product receipts. Whether you're a seasoned Python pro or just starting your coding journey, this article will guide you through each step with ease.
  • Build a Music Player with Python
    2 projects | dev.to | 20 Apr 2024
    When working in Visual Studio Code (VS Code), create a new Python file for our music player project. It's helpful to have separate files for different parts of your project.
  • PEP 744 – JIT Compilation
    1 project | news.ycombinator.com | 18 Apr 2024
    > It provides a meaningful performance improvement for at least one popular platform (realistically, on the order of 5%).

    At first it will not provide a large boost, but it will set the foundations for larger gains in subsequent releases. They link a list of some proposed improvements already underway, with improvement estimates, at https://github.com/python/cpython/issues/115802

  • Featured Mod of the Month: Phil Ashby
    2 projects | dev.to | 16 Apr 2024
    After that, with the basics of software engineering understood, I would move on to a wider use language, with a bigger ecosystem to employ, most likely Python. This would expose me to large system design / distributed systems and architectural challenges...
  • Convert Images Into Pencil Sketch
    2 projects | dev.to | 11 Apr 2024
    Have you ever felt like your photos needed a little extra touch to stand out? Well, get ready because we're about to learn a cool Python trick! We're going to take ordinary photos and turn them into awesome pencil sketches using Python and OpenCV. This will make your pictures look like they were drawn by hand!
  • Crafting an Image to PDF Converter App Using Python
    1 project | dev.to | 11 Apr 2024
    Have you ever found yourself in a situation where you needed to convert a bunch of images into a PDF file quickly and efficiently? Imagine the convenience of converting a series of images from your recent trip into a single PDF album with just a few clicks. In this article, we will cover the process of building an Image PDF Converter App using Python. With the help of libraries like tkinter, os, and Python Imaging Library (PIL), we'll walk through the process of creating a powerful tool that can streamline this task for you.
  • Calculator with GUI Using Python Tkinter
    1 project | dev.to | 11 Apr 2024
    If you've ever wanted to learn how to use Python or if you already know a bit and want to try something new, then you're in the right place! In this article, we'll show you step-by-step how to make your very own calculator using Python's Tkinter library, a renowned Python library for creating graphical user interfaces. Tkinter stands out for its simplicity, versatility, and widespread use in the Python community. It doesn't matter if you're a total beginner or an experienced coder looking for a fun project, we'll guide you through everything you need to know.
  • Back to Basics - Pandas #1
    1 project | dev.to | 9 Apr 2024
    Pandas is an open source, BSD-licensed library providing high-performance, easy-to-use data structures and data analysis tools for the Python programming language.
  • Backdoor in upstream xz/liblzma leading to SSH server compromise
    49 projects | news.ycombinator.com | 29 Mar 2024
    Python for Windows bundles liblzma from this project, but it appears to be version 5.2.5 [0] vendored into the Python project's repo on 2022-04-18 [1], so that should be fine, right?

    [0] https://github.com/python/cpython/blob/main/PCbuild/get_exte...

    [1] https://github.com/python/cpython-source-deps/tree/xz

RustPython

Posts with mentions or reviews of RustPython. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-05.
  • Encapsulation in Rust and Python
    4 projects | dev.to | 5 Apr 2024
    Integrating Rust into Python, Edward Wright, 2021-04-12 Examples for making rustpython run actual python code Calling Rust from Python using PyO3 Writing Python inside your Rust code — Part 1, 2020-04-17 RustPython, RustPython Rust for Python developers: Using Rust to optimize your Python code PyO3 (Rust bindings for Python) Musing About Pythonic Design Patterns In Rust, Teddy Rendahl, 2023-07-14
  • FLaNK Stack Weekly 12 February 2024
    52 projects | dev.to | 12 Feb 2024
  • RustPython
    14 projects | news.ycombinator.com | 7 Feb 2024
    No.

    …and this one is no exception -> https://github.com/RustPython/RustPython/issues/1940

    Packages that rely on c dependencies like numpy, etc. only work if you write a custom implementation by hand; the “normal” package flat out doesn’t (and cannot) work.

  • Show HN: RustPython for BeOS with W2c2
    1 project | news.ycombinator.com | 4 Feb 2024
  • Rust is replacing C as the Python back end
    1 project | news.ycombinator.com | 25 Jan 2024
    The title would be accurate if this project (https://rustpython.github.io/) was becoming the official version of Python.
  • RustPython: An open source Python 3 interpreter written in Rust
    1 project | news.ycombinator.com | 25 Jan 2024
  • Rewrite Sympy in rust
    2 projects | /r/rust | 11 Nov 2023
    If you absolutely need something comparable to Sympy, then one option might be to figure out how to best call Sympy from Rust. e.g. - RustPython, although it seems like Sympy isn't supported yet - Pyodide, and figuring out how to run it outside of a web browser. Probably also not very easy. - PyPy, and having a pretty simple Python binary for every platform - ...
  • Our Plan for Python 3.13
    10 projects | news.ycombinator.com | 15 Jun 2023
    I'm actually rooting for RustPython to reach a level of maturity that we'd just be able to ship apis and stuff with it.... https://github.com/RustPython/RustPython
  • Python 11
    2 projects | /r/xonsh | 24 Mar 2023
    Good question and it also actual for: python 3.12, RustPython and xonsh binary.
  • This Week In Python
    5 projects | dev.to | 10 Mar 2023
    RustPython – A Python Interpreter written in Rust

What are some alternatives?

When comparing CPython and RustPython you can also consider the following projects:

ipython - Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.

pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly

Vulpix - Fast, unopinionated, minimalist web framework for .NET core inspired by express.js

tauri - Build smaller, faster, and more secure desktop applications with a web frontend.

Visual Studio Code - Visual Studio Code

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

Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE - Do you want to LEARN NEW STUFF for FREE? Don't worry, with the power of web-scraping and automation, this script will find the necessary Udemy coupons & enroll you for PAID UDEMY COURSES, ABSOLUTELY FREE!

PyO3 - Rust bindings for the Python interpreter

Pandas - Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more

Rhai - Rhai - An embedded scripting language for Rust.

Camunda BPM - Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Quarkus, Spring, Spring Boot, CDI.

helix - A post-modern modal text editor.