Hello, HPy

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • xni

    A possible new C API for extending Ruby impls

    We have this same problem in Ruby - implementing the Ruby C extension API if you aren't exactly the same as the reference Ruby implementation is extremely challenging. I think Charlie Nutter proposed something like this for Ruby in the past https://github.com/headius/xni.

  • Pyrsistent

    Persistent/Immutable/Functional data structures for Python

    It still is, and Cython is great for accelerating critical Python code.

    A C extension is far preferable when you want to code in C, either to write a new data type[1], or write a Python frontend to a C library[2] that is too complex to be well supported by simple FFI.

    I think people use Cython more internally when they value the maintainability of "mostly Python" over the fact that it's slower than what native C would get them.

    [1]: https://github.com/tobgu/pyrsistent

    [2]: https://github.com/libgit2/pygit2

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • pygit2

    Python bindings for libgit2

    It still is, and Cython is great for accelerating critical Python code.

    A C extension is far preferable when you want to code in C, either to write a new data type[1], or write a Python frontend to a C library[2] that is too complex to be well supported by simple FFI.

    I think people use Cython more internally when they value the maintainability of "mostly Python" over the fact that it's slower than what native C would get them.

    [1]: https://github.com/tobgu/pyrsistent

    [2]: https://github.com/libgit2/pygit2

  • RustPython

    A Python Interpreter written in Rust

    Nice! I've been following HPy for a while, and I'd like to eventually implement it in RustPython[0] (the blockers to doing so are mostly on our part, not theirs). I'm hopeful that this will vastly improve compatibility for native modules for interpreters other than CPython - numpy seems almost impossible to get working in RustPython without something like HPy.

    [0]: https://github.com/RustPython/RustPython

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts