C Simd

Open-source C projects categorized as Simd
Neon Avx2 Avx Sse Avx512

Top 23 C Simd Projects

  1. john

    John the Ripper jumbo - advanced offline password cracker, which supports hundreds of hash and cipher types, and runs on many operating systems, CPUs, GPUs, and even some FPGAs

    Project mention: It Started as Fun, Turned Into a Calling... | dev.to | 2024-10-08

    My quest to crack this Wi-Fi password led me deep into the world of network security. I learned about tools like aircrack-ng and John the Ripper. I discovered the concept of packet capture and the vulnerabilities of WPS-protected networks. But more importantly, this journey led me to a revelation that would change everything: Android was built on the Linux kernel.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. simde

    Implementations of SIMD instruction sets for systems which don't natively support them.

    Project mention: FFmpeg School of Assembly Language | news.ycombinator.com | 2025-02-22

    You can use https://github.com/simd-everywhere/simde if you like. In general portable SIMD libraries are of limited utility because having different primitives available on different architectures means that you should approach problems differently. That is to say, in many cases using any portable SIMD API to solve your problem means leaving 200% speedups on the table on at least one of your top 3 targets.

  4. cglm

    📽 Highly Optimized 2D / 3D Graphics Math (glm) for C

  5. 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 🦖

    Project mention: Dividing unsigned 8-bit numbers | news.ycombinator.com | 2024-12-21

    64 KB is a pretty significant budget for such a small operation. I've had a variant that uses 768 bytes with some extra logic, but will deprecate that kernel soon.

    https://github.com/ashvardanian/StringZilla/blob/0d47be212c5...

  6. XNNPACK

    High-efficiency floating-point neural network inference operators for mobile, server, and Web

    Project mention: Ask HN: If you are a Machine Learning engineer, what do you do at work? | news.ycombinator.com | 2024-06-07

    A lot do, personally, every single time I try to go back to conda/mamba whatever, I get some extremely weird C/C++ related linking bug - just recently, I ran into an issue where the environment was _almost_ completely isolated from the OS distro's C/C++ build infra, except for LD, which was apparently so old it was missing the vpdpbusd instruction (https://github.com/google/XNNPACK/issues/6389). Except the thing was, that wouldn't happen when building outside of of the Conda environment. Very confusing. Standard virtualenvs are boring but nearly always work as expected in comparison.

  7. 42_CheatSheet

    A comprehensive guide to 50 years of evolution of strict C programming, a tribute to Dennis Ritchie's language

  8. 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 📐

    Project mention: How to Implement a Cosine Similarity Function in TypeScript | news.ycombinator.com | 2025-03-10

    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

  9. SaaSHub

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

    SaaSHub logo
  10. ucall

    Web Serving and Remote Procedure Calls at 50x lower latency and 70x higher bandwidth than FastAPI, implementing JSON-RPC & REST over io_uring ☎️

  11. TurboPFor

    Fastest Integer Compression

  12. sleef

    SIMD Library for Evaluating Elementary Functions, vectorized libm and DFT

    Project mention: SIMD Library for Evaluating Elementary Functions, Vectorized Libm and DFT | news.ycombinator.com | 2024-11-25
  13. hh-suite

    Remote protein homology detection suite.

  14. fastbase64

    SIMD-accelerated base64 codecs

  15. streamvbyte

    Fast integer compression in C using the StreamVByte codec

    Project mention: Another variable-length integer encoding | news.ycombinator.com | 2024-08-11

    Stream VByte[1,2,3] is not far away from that idea, storing the packed lengths in a separate stream from the data bytes. (There’s also a more conventional interleaved design in varint-G8IU, but Stepanov decided to fuck everyone over and patented that.)

    [1] https://lemire.me/blog/2017/09/27/stream-vbyte-breaking-new-...

    [2] https://arxiv.org/abs/1709.08990

    [3] https://github.com/lemire/streamvbyte

  16. nsimd

    Agenium Scale vectorization library for CPUs and GPUs

  17. Turbo-Base64

    Turbo Base64 - Fastest Base64 SIMD:SSE/AVX2/AVX512/Neon/Altivec - Faster than memcpy!

  18. TurboRLE

    TurboRLE-Fastest Run Length Encoding

  19. zsv

    zsv+lib: tabular data swiss-army knife CLI + world's fastest (simd) CSV parser

    Project mention: How fast can you parse a CSV file in C#? | news.ycombinator.com | 2024-10-27

    Haven't yet seen any of these beat https://github.com/liquidaty/zsv when real-world constraints are applied (e.g. we no longer assume that line ends are always \n, or that there are no dbl-quote chars, embedded commas/newlines/dbl-quotes). And maybe under the artificial conditions as well.

  20. despacer

    C library to remove white space from strings as fast as possible

  21. simd_utils

    A header only library implementing common mathematical functions using SIMD intrinsics

  22. ecloop

    🔐💻 ecloop: A high-performance, CPU-optimized tool for computing public keys on the secp256k1 elliptic curve, with features for searching compressed & uncompressed public keys and customizable search parameters.

    Project mention: 2024 In Review | dev.to | 2025-01-01

    ecloop (c, cli) – secp256k1 elliptic curve implementation for Apple chips. Mainly an educational project to understand cryptography, SIMD optimizations, etc. Added several standard use cases for finding Bitcoin keys by brute force, but mathematically this is pointless, so as I said earlier, this is more of an interesting educational project (and I wanted to publish a series of articles on cryptography, but didn't have time last year, I hope to do it this year). Some people use this project in hopes of finding something. I also had ideas to add Metal API support – but that takes a lot of time, so I switched to other projects. Score: okay.

  23. nbody

    2D N-body simulation on CPU and GPU (by Urist-McDeveloper)

  24. camellia-simd-aesni

    Camellia cipher SIMD vector implementations for x86 (with AES-NI, VAES and/or GFNI instructions), ARM (with ARMv8 Crypto Extension instructions) and POWER (with VMX+VSX+crypto instructions)

  25. wav

    Type-safe C/C++ API for WASM SIMD.

  26. SaaSHub

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

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C Simd discussion

Log in or Post with

C Simd related posts

Index

What are some of the best open-source Simd projects in C? This list will help you:

# Project Stars
1 john 10,984
2 simde 2,590
3 cglm 2,451
4 StringZilla 2,459
5 XNNPACK 1,980
6 42_CheatSheet 1,731
7 SimSIMD 1,286
8 ucall 1,193
9 TurboPFor 787
10 sleef 707
11 hh-suite 561
12 fastbase64 432
13 streamvbyte 392
14 nsimd 329
15 Turbo-Base64 297
16 TurboRLE 285
17 zsv 223
18 despacer 152
19 simd_utils 101
20 ecloop 24
21 nbody 16
22 camellia-simd-aesni 18
23 wav 13

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

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