Torch VS Trilinos

Compare Torch vs Trilinos and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Torch Trilinos
2 2
8,947 1,152
0.6% 1.3%
0.0 9.9
over 1 year ago 5 days ago
C C++
GNU General Public License v3.0 or later 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.


Posts with mentions or reviews of Torch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-22.


Posts with mentions or reviews of Trilinos. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-13.
  • Software component names should be whimsical and cryptic
    2 projects | | 13 Sep 2022
    If you want to see this line of thinking taken a bit too far, check out the list of Trilinos packages on github:

    It definitely makes things much less accessible to a newcomer / outsider.

    (Trilinos is a set of scientific / engineering libraries for HPC)

  • C++ for scientific programming?
    6 projects | /r/cpp | 27 Jul 2022
    It can be the base of whatever *you* write via bindings generators like pybind11. In that sense, the answer to your question is "however you like". For actual simulation code, you'll see a lot more legacy Fortran and C. That said, with things like mdspan maybe being standardized (proposal), efforts towards a standard linear algebra library, and the existence of ubiquitous HPC frameworks already having been written in C++, I would say it's only a matter of time before C++ accounts for an even bigger share of all HPC code.

What are some alternatives?

When comparing Torch and Trilinos you can also consider the following projects:

GSL - GNU Scientific Library with CMake build support and AMPL bindings


Blitz++ - Git mirror of Blitz++ at

Kratos - Kratos Multiphysics (A.K.A Kratos) is a framework for building parallel multi-disciplinary simulation software. Modularity, extensibility and HPC are the main objectives. Kratos has BSD license and is written in C++ with extensive Python interface.

Dimwits - A compact C++ header-only library providing compile-time dimensional analysis and unit awareness

HELICS - Hierarchical Engine for Large-scale Infrastructure Co-Simulation (HELICS)

preCICE - A coupling library for partitioned multi-physics simulations, including, but not restricted to fluid-structure interaction and conjugate heat transfer simulations.