SimSIMD

Up to 200x Faster Dot Products & Similarity Metrics — for Python, Rust, C, JS, and Swift, supporting f64, f32, f16 real & complex, i8, and bit vectors using SIMD for both AVX2, AVX-512, NEON, SVE, & SVE2 📐 (by ashvardanian)

SimSIMD Alternatives

Similar projects and alternatives to SimSIMD

  1. rust

    2,856 SimSIMD VS rust

    Empowering everyone to build reliable and efficient software.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. CPython

    1,521 SimSIMD VS CPython

    The Python programming language

  4. rust-playground

    The Rust Playground

  5. Apache Arrow

    Apache Arrow is the universal columnar format and multi-language toolbox for fast data interchange and in-memory analytics

  6. highway

    Performance-portable, length-agnostic SIMD with runtime dispatch

  7. simdjson

    Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks

  8. onnxruntime

    ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. ann-benchmarks

    Benchmarks of approximate nearest neighbor libraries in Python

  11. AI-on-the-edge-device

    Easy to use device for connecting "old" measuring units (water, power, gas, ...) to the digital world

  12. usearch

    29 SimSIMD VS usearch

    Fast Open-Source Search & Clustering engine × for Vectors & Arbitrary Objects × in C++, C, Python, JavaScript, Rust, Java, Objective-C, Swift, C#, GoLang, and Wolfram 🔍

  13. s2geometry

    Computational geometry and spatial indexing on the sphere

  14. compile-time-regular-expressions

    Compile Time Regular Expression in C++

  15. hpy

    24 SimSIMD VS hpy

    HPy: a better API for Python

  16. StringZilla

    Up to 10x faster strings for C, C++, Python, Rust, Swift & Go, leveraging NEON, AVX2, AVX-512, SVE, & SWAR to accelerate search, hashing, sort, edit distances, and memory ops 🦖

  17. avo

    11 SimSIMD VS avo

    Generate x86 Assembly with Go

  18. less_slow.cpp

    Playing around "Less Slow" coding practices in C++ 20, C, CUDA, PTX, & Assembly, from numerics & SIMD to coroutines, ranges, exception handling, networking and user-space IO

  19. uform

    9 SimSIMD VS uform

    Pocket-Sized Multimodal AI for content understanding and generation across multilingual texts, images, and 🔜 video, up to 5x faster than OpenAI CLIP and LLaVA 🖼️ & 🖋️

  20. kuzu

    20 SimSIMD VS kuzu

    Embedded property graph database built for speed. Vector search and full-text search built in. Implements Cypher.

  21. nsimd

    Agenium Scale vectorization library for CPUs and GPUs

  22. laser

    7 SimSIMD VS laser

    The HPC toolbox: fused matrix multiplication, convolution, data-parallel strided tensor primitives, OpenMP facilities, SIMD, JIT Assembler, CPU detection, state-of-the-art vectorized BLAS for floats and integers (by mratsim)

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better SimSIMD alternative or higher similarity.

SimSIMD discussion

Log in or Post with

SimSIMD reviews and mentions

Posts with mentions or reviews of SimSIMD. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-07-05.
  • The messy reality of SIMD (vector) functions
    4 projects | news.ycombinator.com | 5 Jul 2025
    Here's an explanation from one of my repos: <https://github.com/ashvardanian/simsimd?tab=readme-ov-file#d...>
  • Show HN: Less Slow C++
    20 projects | news.ycombinator.com | 18 Apr 2025
    You can always get more accuracy by expanding those 3 lines to handle more of the Taylor components… but it’s important to remember that this is still educational material.

    You can find more complete examples in my SimSIMD (https://github.com/ashvardanian/SimSIMD), but they also often assume that at a certain part of a kernel, a floating point number is guaranteed to be in a certain range. This can greatly simplify the implementation for kernels like Atan2. For general-purpose inputs, go to SLEEF (https://sleef.org). Just remember that every large, complicated optimization starts with a small example.

  • How to Implement a Cosine Similarity Function in TypeScript
    2 projects | news.ycombinator.com | 10 Mar 2025
    It’s a nice post, but “using array methods” probably shouldn’t be placed in the “Efficient Implementation” section. As it often happens with high-level languages, a single plain old loop is faster that three array methods.

    Similarly, if you plan to query those vectors in search, you should consider continuous `TypedArray` types, and smaller scalars, than the double precision `number`.

    I know very little about JS, but some of the amazing HackerNews community members have previously helped port SimSIMD to JavaScript (https://github.com/ashvardanian/SimSIMD), and I wrote a blogpost covering some of those JS/TS-specifics, NumJS, and MathJS in 2023 (https://ashvardanian.com/posts/javascript-ai-vector-search/).

    Hopefully it should help unlock another 10-100x in performance

  • A not so fast implementation of cosine similarity in C++ and SIMD
    3 projects | news.ycombinator.com | 15 Oct 2024
    Arch specific similarity functions in SIMD, with bindings in Python and other languages:

    https://github.com/ashvardanian/SimSIMD

  • HPy – A better C API for Python
    6 projects | news.ycombinator.com | 5 Oct 2024
  • How does cosine similarity work?
    1 project | news.ycombinator.com | 6 Sep 2024
    SciPy distances module has its own problems. It's pretty slow, and constantly overflows in mixed precision scenarios. It also raises the wrong type of errors when it overflows, and uses general purpose `math` package instead of `numpy` for square roots. So use it with caution.

    I've outlined some of the related issues here: https://github.com/ashvardanian/SimSIMD#cosine-similarity-re...

  • SIMD-accelerated computer vision on a $2 microcontroller
    6 projects | news.ycombinator.com | 24 Jun 2024
    SimSIMD https://github.com/ashvardanian/SimSIMD :

    > Up to 200x Faster Inner Products and Vector Similarity — for Python, JavaScript, Rust, C, and Swift, supporting f64, f32, f16 real & complex, i8, and binary vectors using SIMD for both x86 AVX2 & AVX-512 and Arm NEON & SVE

    https://news.ycombinator.com/item?id=37808036

  • Deep Learning in JavaScript
    11 projects | news.ycombinator.com | 28 Mar 2024
  • From slow to SIMD: A Go optimization story
    10 projects | news.ycombinator.com | 23 Jan 2024
    For other languages (including nodejs/bun/rust/python etc) you can have a look at SimSIMD which I have contributed to this year (made recompiled binaries for nodejs/bun part of the build process for x86_64 and arm64 on Mac and Linux, x86 and x86_64 on windows).

    [0] https://github.com/ashvardanian/SimSIMD

  • Python, C, Assembly – Faster Cosine Similarity
    5 projects | news.ycombinator.com | 18 Dec 2023
    Kahan floats are also commonly used in such cases, but I believe there is room for improvement without hitting those extremes. First of all, we should tune the epsilon here: https://github.com/ashvardanian/SimSIMD/blob/f8ff727dcddcd14...

    As for the 64-bit version, its harder, as the higher-precision `rsqrt` approximations are only available with "AVX512ER". I'm not sure which CPUs support that, but its not available on Sapphire Rapids.

  • A note from our sponsor - InfluxDB
    www.influxdata.com | 11 Jul 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Stats

Basic SimSIMD repo stats
23
1,411
9.6
about 1 month ago

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that C is
the 6th most popular programming language
based on number of references?