GSL VS Trilinos

Compare GSL vs Trilinos and see what are their differences.


GNU Scientific Library with CMake build support and AMPL bindings (by ampl)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SaaSHub - Software Alternatives and Reviews
GSL Trilinos
4 2
442 840
0.2% 1.0%
0.0 9.9
22 days ago 4 days ago
C C++
GNU General Public License v3.0 only 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 GSL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-22.
  • C++ for numerical programming
    4 projects | | 22 Jun 2021
    Some time ago, I started on a similar journey. Started with
  • C++ learning advice
    3 projects | | 5 Apr 2021
    I might recommend exploring some libraries that could be used. GSL is an example. This might be an equivalent of NumPy.
  • C Deep
    80 projects | | 27 Feb 2021
    GSL - The GNU Scientific Library; a sophisticated numerical library. GPL-3.0-only.


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 | | 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 GSL and Trilinos you can also consider the following projects:


Torch -

Blitz++ - Git mirror of Blitz++ at

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)

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.

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