hpy VS CPython

Compare hpy vs CPython and see what are their differences.

hpy

HPy: a better API for Python (by hpyproject)
hpy
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
hpy CPython
20 1,313
1,004 59,531
1.2% 1.6%
8.2 10.0
about 2 months ago 1 day ago
Python Python
MIT License GNU General Public License v3.0 or later
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.

hpy

Posts with mentions or reviews of hpy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-07.
  • RustPython
    14 projects | news.ycombinator.com | 7 Feb 2024
    There is a merge request up to add autogen rust bindings to hpy

    https://github.com/hpyproject/hpy/pull/457

  • Ruby 3.2’s YJIT is Production-Ready
    8 projects | news.ycombinator.com | 17 Jan 2023
    Are you referencing https://github.com/hpyproject/hpy?

    I do hope it takes off.

  • HPy - A better C API for Python
    1 project | /r/Python | 11 Jan 2023
  • Codon: A high-performance Python compiler
    12 projects | news.ycombinator.com | 8 Dec 2022
    The HPy project [0] seems like a promising way out of this.

    [0] https://hpyproject.org/

  • New record breaking for Python in TechEmPower
    2 projects | /r/Python | 8 Dec 2022
    socketify.py breaks the record for Python no other Python WebFramework/Server as able to reach 6.2 mi requests per second before in TechEmPower Benchmarks, this puts Python at the same level of performance that Golang, Rust and C++ for web development, in fact Golang got 5.2 mi req/s in this same round. Almost every server or web framework tries to use JIT to boost the performance, but only socketify.py deliveries this level of performance, and even without JIT socketify.py is twice as fast any other web framework/server in active development, and still can be much more optimized using HPy (https://hpyproject.org/). Python will get even faster and faster in future!
  • Is it time to leave Python behind? (My personal rant)
    4 projects | /r/Python | 27 Nov 2022
    I think Propose a better messaging for Python is the option and a lot of languages will learn it from Rust, because rust erros are the best described errors I see in my life lol. Cargo is amazing and I think we will need a better poetry/pip for sure, HPy project will modernize extensions and packages 📦 too https://hpyproject.org/
  • A Look on Python Web Performance at the end of 2022
    10 projects | dev.to | 14 Nov 2022
    It also show that PyPy3 will not magically boost your performance, you need to integrate in a manner that PyPy3 can optimize and delivery CPU performance, with a more complex example maybe it can help more. But why socketify is so much faster using PyPy3? The answer is CFFI, socketify did not use Cython for integration and cannot delivery the full performance on Python3, this will be solved with HPy.
  • socketify.py - Bringing WebSockets, Http/Https High Peformance servers for PyPy3 and Python3
    5 projects | /r/Python | 8 Nov 2022
    HPy integration to better support CPython, PyPy and GraalPython
  • HPy: A better C API for Python
    1 project | news.ycombinator.com | 25 Oct 2022
  • Your Data Fits in RAM
    4 projects | news.ycombinator.com | 2 Aug 2022
    Absolutely everything in CPython is a PyObject, and that can’t be changed without breaking the C API. A PyObject contains (among other things) a type pointer, a reference count, and a data field; none of these things can be changed without (again) breaking the C API.

    There have definitely been attempts to modernize; the HPy project (https://hpyproject.org/), for instance, moves towards a handle-oriented API that keeps implementation details private and thus enables certain optimizations.

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

What are some alternatives?

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

nogil - Multithreaded Python without the GIL

RustPython - A Python Interpreter written in Rust

graalpython - A Python 3 implementation built on GraalVM

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

cinder - Cinder is Meta's internal performance-oriented production version of CPython.

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

py2js

Visual Studio Code - Visual Studio Code

pgcopy - fast data loading with binary copy

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!

Pyjion - Pyjion - A JIT for Python based upon CoreCLR

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