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

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

Our great sponsors
  • InfluxDB - Access the most powerful time series database as a service
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • 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

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • 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