LibTomMath VS gmp-wasm

Compare LibTomMath vs gmp-wasm and see what are their differences.

LibTomMath

LibTomMath is a free open source portable number theoretic multiple-precision integer library written entirely in C. (by libtom)

gmp-wasm

Fork of the GNU Multiple Precision Arithmetic Library (GMP), suitable for compilation into WebAssembly. (by erigontech)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
LibTomMath gmp-wasm
2 38
631 12
1.1% -
8.0 10.0
17 days ago over 3 years ago
C C
GNU General Public License v3.0 or later GNU General Public License v3.0 only
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.

LibTomMath

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

gmp-wasm

Posts with mentions or reviews of gmp-wasm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-12.
  • Sourcehut and Codeberg are both currently experiencing a DDoS attack
    5 projects | news.ycombinator.com | 12 Jan 2024
    I wondered about Drew's "antagonism" last year when he claimed that Google was DDoS'ing Sourcehut, which is why sr.ht blacklisted the Go module mirror; see https://news.ycombinator.com/item?id=34310674 .

    I concluded he was right after I read about ongoing problems with the GMP project, at https://gmplib.org/ : "The GMP servers has been under serious load due to a barrage of clone requests from Microsoft/Github. ... In effect, Microsoft's computer cloud performed a DDoS attack on the GMP servers. ... Our servers are fully available again, but that's the result of us adding all participating Microsoft network ranges to our firewall. We understand that we are far from the first project to take such measures against Github."

    Also, you can't build projects like Sourcehut by being only an antagonist, and I can think of some pretty antagonistic CEOs of billion dollar companies.

  • A Linear Algebra Trick for Computing Fibonacci Numbers Fast
    3 projects | news.ycombinator.com | 6 Nov 2023
    There are "bignum" implementations for every language. Though I never tested the performance impact on closed-form Fibonacci when a defined double precision >64bit is used.

    https://gmplib.org/

    Your code has an accidentally quadratic runtime (instead of linear). Since the array is appended to, the code regularly increases the memory region and has to move all the previous data over.

    You could pre-allocate the memory as n is known ahead.

  • Under the hood: The Importance of sizeof in C and C++
    1 project | dev.to | 15 Jul 2023
    Different data types can take up varying amounts of memory. Take an integer as an example, this data type usually takes up 4 bytes of memory (DWORD in x86 architecture), while a floating-point data type can take up 8 bytes (or more, depending on what compiler you are using, on that offers a lot of flexibility is GMP)
  • Microsoft's GitHub under fire for DDoSing crucial open source project website
    1 project | news.ycombinator.com | 28 Jun 2023
    I also disagree, and they were DDOS, so technically Microsoft broke a law.

    >Granlund was not entirely satisfied with Blacker's explanation, nor the implied feebleness of the project's server(s)

    So, every project needs to have a multi-million USD server Farm ? GMP is probably pulled by various Linux distros and the BSDs, along with other Misc projects. So no need for a huge server farm.

    For people who do not know what it is:

    https://gmplib.org/

  • The GMP library's repository is under attack by a single GitHub user
    1 project | /r/hypeurls | 18 Jun 2023
  • The GMP library's website is under attack by a single GitHub user
    6 projects | news.ycombinator.com | 18 Jun 2023
  • GMP servers are under DoS attack from Microsoft[-owned IP addresses]
    1 project | news.ycombinator.com | 16 Jun 2023
    The front page of https://gmplib.org/ has two other undated updates that the current server is too slow because of meltdown and they're going to replace with it with an epyc server in mid April.
  • Having trouble with gmp library
    1 project | /r/Cplusplus | 15 Jun 2023
    Ive been trying to use the gmp library but I keep getting errors. Ive noticed that the last release was from 2020 and was wondering if there was any newer versions anywhere else. I'm currently running Fedora 38 and using VSC as my editor. This is the error I get:
  • Top 10 largest GNU manuals
    1 project | /r/linux | 1 May 2023
    You also left out GNU Smalltalk, whose PDF manual is 138 pages, and GMP, whose PDF manual is 152 pages.
  • How to deal with large numbers in c++?
    1 project | /r/learnprogramming | 27 Apr 2023
    If you are using the GCC, it was (probably) built with the GNU Multiple Precision Arithmetic Library. You just have to compile your program with the library specified like: g++ mycxxprog.cc -lgmpxx -lgmp where gmp is the GNU MP library and gmpxx contains the C++-specific functions.

What are some alternatives?

When comparing LibTomMath and gmp-wasm you can also consider the following projects:

TinyExpr - tiny recursive descent expression parser, compiler, and evaluation engine for math expressions

snes-apu - A Super Nintendo audio unit emulator.

blaze

mathlib4 - The math library of Lean 4

QuantLib - The QuantLib C++ library

ibig-rs - A big integer library in Rust with good performance.

MIRACL - MIRACL Cryptographic SDK: Multiprecision Integer and Rational Arithmetic Cryptographic Library is a C software library that is widely regarded by developers as the gold standard open source SDK for elliptic curve cryptography (ECC).

Random - Repository of Random, Useful, or Novel Functions

Boost.Multiprecision - Boost.Multiprecision

unmaintainable-code - A more maintainable, easier to share version of the infamous http://mindprod.com/jgloss/unmain.html

muparser - muparser is a fast math parser library for C/C++ with (optional) OpenMP support.

Rust-CAS - Rust Computer Algebra library