gmp-wasm VS hardened_malloc

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

gmp-wasm

Fork of the GNU Multiple Precision Arithmetic Library (GMP), suitable for compilation into WebAssembly. (by erigontech)

hardened_malloc

Hardened allocator designed for modern systems. It has integration into Android's Bionic libc and can be used externally with musl and glibc as a dynamic library for use on other Linux-based platforms. It will gain more portability / integration over time. (by GrapheneOS)
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
gmp-wasm hardened_malloc
38 652
12 1,172
- 2.6%
10.0 7.7
over 3 years ago 1 day ago
C C
GNU General Public License v3.0 only MIT 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.

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.

hardened_malloc

Posts with mentions or reviews of hardened_malloc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-02.
  • WhatsApp forces Pegasus spyware maker to share its secret code
    2 projects | news.ycombinator.com | 2 Mar 2024
  • EncroChat
    1 project | news.ycombinator.com | 16 Feb 2024
  • Popular XMPP App "Conversations" Removed from PlayStore by Google
    1 project | news.ycombinator.com | 14 Feb 2024
    Relevant copypasta:

    Fellow humans, there are alternatives to Google and Apple! Your neck need not be under anyone's boot! You don't even need to give up any functionality:

    Data service:

    The simplest thing is to buy a prepaid SIM and top it off with cash. The lovely people over at /r/nocontract maintain a big spreadsheet so you can filter by various properties of the available contracts.

    Another way to go is to pay for a postpaid plan with a virtual credit card (VCC) like at privacy.com. It won't be linked to your name at the telco, but of course privacy.com knows who you are. There is also Abine Blur, and some others.

    Yet a third way to go, which is nascent, is buy an eSIM with crypto. You can also buy prepaid VCCs with crypto.

    An interesting new choice is PGPP https://invisv.com/pgpp/ who rotate your IMSI and do some other cool stuff. It works by e-sims.

    All these methods make you /pseudo/nymous, but obviously you're still identifiable by subscriber number and possibly IMEI, to put aside correlational things like your traffic profile. You can help this problem by routing everything through a VPN. Then you're pseudonymous but the cell carrier knows nothing about you other than that you use a VPN. Pay for the VPN with crypto. Of course now the VPN provider knows your traffic, but you're much more anonymous to them than you are to a telco. You make your choices. Defense in depth. Etc.

    OS:

    GrapheneOS: https://grapheneos.org/ Very much like Calyx, but extra-hardened and with no MicroG. No involvement with Google at all by default. You can make a secondary profile in which you install Google Play Services to set up an environment where you can run unprivileged Play services + whatever crapware you need that requires them. Unprivileged here means it's like any other app: if you don't give it access to your location, it won't know where you are. If you end the profile session when you leave, Play Services stops running and stops talking to Google.

    CalyxOS: https://calyxos.org/ Privacy-respecting Android distribution that replaces Google spyware with MicroG, so you can have your cake and eat it too. Most everything will work as you're used to, but it does still talk to Google to make that happen.

    LineageOS: https://lineageos.org/ The successor to CyanogenMod, will work with many different phones. More privacy and control than stock Android.

    There are also many others: Sailfish, Replicant, e

    Hardware:

    CalyxOS and GrapheneOS run best on Pixels. The path of least resistance is to get one of these phones and run GrapheneOS with Google Services installed in one profile or other.

    You could also buy a Librem 5 https://puri.sm/products/librem-5/ If privacy and security and hacking are really important to you.

    Or a pinephone: https://www.pine64.org/pinephone/

    Neither work very well by regular standards, but they're cool :-)

  • LineageOS is currently installed on 1.5M Android devices
    6 projects | news.ycombinator.com | 5 Feb 2024
    It might be worth to switch to GrapheneOS if you have Pixel phones: https://grapheneos.org/

    It is a more serious project than LineageOS in the sense that they take security very seriously and they take their development more professionally too. There are no disadvantages to using GrapheneOS compared to LineageOS.

    You can see a comparison here: https://eylenburg.github.io/android_comparison.htm

  • Apple Announces Changes to iOS, Safari, and the App Store in the European Union
    6 projects | news.ycombinator.com | 25 Jan 2024
  • No new iPhone? No secure iOS: Looking at an unfixed iOS vulnerability
    1 project | news.ycombinator.com | 28 Dec 2023
  • Recommendations for an Android repair shop?
    1 project | /r/kitchener | 8 Dec 2023
    If it still powers up but just won't boot you could try installing https://grapheneos.org/.
  • Iphone Vs Android
    2 projects | /r/rareinsults | 7 Dec 2023
    On 4thgen Pixels and up you can install GrapheneOS which is a security and privacy focused Android build. It does not come with any Google services pre-installed but you can put them on. https://grapheneos.org/
  • Suche Handy empfehlung bis 250€ max.
    1 project | /r/de_EDV | 7 Dec 2023
  • Are you happy
    1 project | /r/Pixel6aUsers | 6 Dec 2023
    yes... will also de-google it cuz we can install GrapheneOS and also close the bootloader

What are some alternatives?

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

snes-apu - A Super Nintendo audio unit emulator.

Unihertz-Titan-lineageos-microg - Guide and files required to setup lineageos with microg on the Unihertz Titan

mathlib4 - The math library of Lean 4

ungoogled-chromium - Google Chromium, sans integration with Google

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

Magisk - The Magic Mask for Android

Random - Repository of Random, Useful, or Novel Functions

Seedvault - A backup application for the Android Open Source Project.

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

plexus - Remove the fear of Android app compatibility on de-Googled devices.

Rust-CAS - Rust Computer Algebra library

mimalloc - mimalloc is a compact general purpose allocator with excellent performance.