GSL VS Units

Compare GSL vs Units and see what are their differences.


GNU Scientific Library with CMake build support and AMPL bindings (by ampl)


A run-time C++ library for working with units of measurement and conversions between them and with string representations of units and measurements (by LLNL)
Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
GSL Units
4 2
442 112
0.2% 0.0%
0.0 7.2
24 days ago 8 days ago
C C++
GNU General Public License v3.0 only BSD 3-clause "New" or "Revised" License
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 Units. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning Units yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing GSL and Units you can also consider the following projects:


Torch -

Blitz++ - Git mirror of Blitz++ at

Trilinos - Primary repository for the Trilinos Project

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.