Rust or C/C++ to learn as a secondary language?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/Python

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • JetBrains - Developer Ecosystem Survey 2022
  • rust-ndarray

    ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations

    ndarray and numpy crates provide good way to operate on numpy ndarrays from python

  • PyO3

    Rust bindings for the Python interpreter

    PyO3 is a great crate for writing python binary libraries in Rust

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • mypyc

    Compile type annotated Python to fast C extensions

    you can check out [`mypyc`](https://github.com/mypyc/mypyc) . It is used by mypy, black for speedup

  • gopy

    gopy generates a CPython extension module from a go package.

    Check out gopy for an easy way to extend your Python code with Go.

  • Cython

    The most widely used Python to C compiler

  • PySCIPOpt

    Python interface for the SCIP Optimization Suite

    It’s impossible to recommend the right tool for the job, and honestly, depending on how much maths you know it might be hard to make progress, but I’d put money on a constraint solver reducing the time from hours to seconds. Can recommend this one https://github.com/scipopt/PySCIPOpt

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