Do you guys have any resources for learning C++ and/or Fortran programming for physics?

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

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

    Empowering everyone to build reliable and efficient software.

  • However, I would instead recommend learning a more modern, safer, C-like language: Rust. It prevents all sorts of concurrency and memory errors at compile time. Generally, it is much harder to shoot yourself in the foot (which is shockingly easy with C or C++). https://www.rust-lang.org/

  • Numba

    NumPy aware dynamic Python compiler using LLVM

  • There's also another interesting JIT compiler for python called numba which is even easier to get set up and start using. Usually all you need to do is decorate your functions with an @njit and bam, massive speedups.

  • 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.

    InfluxDB logo
  • Cython

    The most widely used Python to C compiler

  • If you're already familiar with python and numpy, you might want to look into cython as an intermediate step before going straight into C. It allows you to compile most python code into a static binary that can be imported into a python script just like any other library. This allows you to get performance close to raw C without having to invest much effort, and has a lot of bells and whistles like "auto"-parallelization with openmp.

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