C++ Avx2

Open-source C++ projects categorized as Avx2

Top 16 C++ Avx2 Projects

  • simdjson

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

    Project mention: simdjson: Parsing Gigabytes of JSON per Second | news.ycombinator.com | 2024-01-23
  • highway

    Performance-portable, length-agnostic SIMD with runtime dispatch

    Project mention: JPEG XL and the Pareto Front | news.ycombinator.com | 2024-03-01

    [0] for those interested in Highway.

    It's also mentioned in [1], which starts off

    > Today we're sharing open source code that can sort arrays of numbers about ten times as fast as the C++ std::sort, and outperforms state of the art architecture-specific algorithms, while being portable across all modern CPU architectures. Below we discuss how we achieved this.

    [0] https://github.com/google/highway

    [1] https://opensource.googleblog.com/2022/06/Vectorized%20and%2..., which has an associated paper at https://arxiv.org/pdf/2205.05982.pdf.

  • JetBrains Dev Survey

    What’s up with the C++ ecosystem in 2023? JetBrains Developer Ecosystem Survey 2023 has given us many interesting insights. The Embedded (37%) and Games (39%) industries are already working with C++20, developers are incorporating static analysis in their CI, and ChatGPT usage among coders is flourishing. Read on for more!

  • CTranslate2

    Fast inference engine for Transformer models

    Project mention: Distil-Whisper: distilled version of Whisper that is 6 times faster, 49% smaller | news.ycombinator.com | 2023-10-31

    Just a point of clarification - faster-whisper references it but ctranslate2[0] is what's really doing the magic here.

    Ctranslate2 is a sleeper powerhouse project that enables a lot. They should be up front and center and get the credit they deserve.

    [0] - https://github.com/OpenNMT/CTranslate2

  • DirectXMath

    DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps

    Project mention: Vector math library benchmarks (C++) | /r/GraphicsProgramming | 2023-04-15

    For those unfamiliar, like I was, DXM is DirectXMath.

  • StringZilla

    Up to 10x faster strings for C, C++, Python, Rust, and Swift, leveraging SWAR and SIMD on Arm Neon and x86 AVX2 & AVX-512-capable chips to accelerate search, sort, edit distances, alignment scores, etc 🦖

    Project mention: Measuring energy usage: regular code vs. SIMD code | news.ycombinator.com | 2024-02-19

    The 3.5x energy-efficiency gap between serial and SIMD code becomes even larger when

    A. you do byte-level processing instead of float words;

    B. you use embedded, IoT, and other low-energy devices.

    A few years ago I've compared Nvidia Jetson Xavier (long before the Orin release), Intel-based MacBook Pro with Core i9, and AVX-512 capable CPUs on substring search benchmarks.

    On Xavier one can quite easily disable/enable cores and reconfigure power usage. At peak I got to 4.2 GB/J which was an 8.3x improvement in inefficiency over LibC in substring search operations. The comparison table is still available in the older README: https://github.com/ashvardanian/StringZilla/tree/v2.0.2?tab=...

  • Vc

    SIMD Vector Classes for C++

  • libsimdpp

    Portable header-only C++ low level SIMD library

  • 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.

  • simdutf

    Unicode routines (UTF8, UTF16, UTF32): billions of characters per second using SSE2, AVX2, NEON, AVX-512. Part of Node.js and Bun.

    Project mention: Vectorizing Unicode conversions on real RISC-V hardware | news.ycombinator.com | 2024-01-27

    The project was mostly inspired by simdutf [0] which has been around for a couple of years already, and I don't think iconv has any of its vectorized implementations for other architectures.

    [0] https://github.com/simdutf/simdutf

  • eve

    Expressive Vector Engine - SIMD in C++ Goes Brrrr (by jfalcou)

    Project mention: Lack of modern scientific libraries written in C | /r/C_Programming | 2023-04-06

    C++ offers tools for writing better APIs, and since the addition of concepts in C++20 it offers much better API enforcement. Writing an equivalent to libraries such as {fmt} or EVE is not possible in anything we’d call C.

  • x86-simd-sort

    C++ template library for high performance SIMD based sorting algorithms

    Project mention: SIMD based custom object and key-value pair sorting in C++ | news.ycombinator.com | 2024-02-14
  • toys

    Storage for my snippets, toy programs, etc.

    Project mention: Modern Perfect Hashing for Strings | news.ycombinator.com | 2023-04-30

    I think all of these techniques check whether the input string is correct. For example see here https://github.com/WojciechMula/toys/blob/master/lookup-in-s...

  • sse-popcount

    SIMD (SSE) population count --- http://0x80.pl/articles/sse-popcount.html

  • CPURasterizer

    CPU Based Rasterizer Engine

  • EveryCulling

    This library integrates multiple culling methods into one library.

  • Vector3D

    A blazing fast lightweight static compile time 2D, 3D, and N-dimensional C++20 vector library.

    Project mention: A fast, lightweight vector3D C++ library | news.ycombinator.com | 2023-03-15

    Hey HN,

    I created a simple vector3D C++ library for scientific and video game coding. I tried to make it as fast as I could. I would love it if you could give me feedback on the library. Also, do you know how to make it faster?

    Here is the link to the repo: https://github.com/cdelv/Vector3D

    All the usage instructions and documentation is in the Readme.

  • std_find_simd

    std::find simd version

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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). The latest post mention was on 2024-03-01.

C++ Avx2 related posts


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

Project Stars
1 simdjson 18,168
2 highway 3,502
3 CTranslate2 2,564
4 DirectXMath 1,459
5 StringZilla 1,445
6 Vc 1,392
7 libsimdpp 1,174
8 simdutf 889
9 eve 818
10 x86-simd-sort 781
11 toys 306
12 sse-popcount 303
13 CPURasterizer 155
14 EveryCulling 117
15 Vector3D 19
16 std_find_simd 18
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.