xsimd VS ispc

Compare xsimd vs ispc and see what are their differences.

xsimd

C++ wrappers for SIMD intrinsics and parallelized, optimized mathematical functions (SSE, AVX, AVX512, NEON, SVE)) (by xtensor-stack)
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
xsimd ispc
3 4
2,043 2,405
1.4% 0.7%
8.7 9.5
1 day ago 7 days ago
C++ C++
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" 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.

xsimd

Posts with mentions or reviews of xsimd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-03.

ispc

Posts with mentions or reviews of ispc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-14.
  • Implementing a GPU's Programming Model on a CPU
    2 projects | news.ycombinator.com | 14 Oct 2023
    This so-called GPU programming model has existed many decades before the appearance of the first GPUs, but at that time the compilers were not so good like the CUDA compilers, so the burden for a programmer was greater.

    As another poster has already mentioned, there exists a compiler for CPUs which has been inspired by CUDA and which has been available for many years: ISPC (Implicit SPMD Program Compiler), at https://github.com/ispc/ispc .

    NVIDIA has the very annoying habit of using a lot of terms that are different from those that have been previously used in computer science for decades. The worst is that NVIDIA has not invented new words, but they have frequently reused words that have been widely used with other meanings.

    SIMT (Single-Instruction Multiple Thread) is not the worst term coined by NVIDIA, but there was no need for yet another acronym. For instance they could have used SPMD (Single Program, Multiple Data Stream), which dates from 1988, two decades before CUDA.

    Moreover, SIMT is the same thing that was called "array of processes" by C.A.R. Hoare in August 1978 (in "Communicating Sequential Processes"), or "replicated parallel" by Occam in 1985 or "PARALLEL DO" by "OpenMP Fortran" in 1997-10 or "parallel for" by "OpenMP C and C++" in 1998-10.

    The only (but extremely important) innovation brought by CUDA is that the compiler is smart enough so that the programmer does not need to know the structure of the processor, i.e. how many cores it has and how many SIMD lanes has each core. The CUDA compiler distributes automatically the work over the available SIMD lanes and available cores and in most cases the programmer does not care whether two executions of the function that must be executed for each data item are done on two different cores or on two different SIMD lanes of the same core.

  • SIMD intrinsics and the possibility of a standard library solution
    16 projects | /r/cpp | 8 Jan 2023
    ISPC: https://github.com/ispc/ispc
  • Prefix Sum with SIMD
    2 projects | news.ycombinator.com | 12 Feb 2022
    Have you looked at [ISPC - Intel SPMD Program Compiler][0]?

      [0]: https://github.com/ispc/ispc
  • Duff’s Device in 2021
    3 projects | news.ycombinator.com | 18 Nov 2021

What are some alternatives?

When comparing xsimd and ispc you can also consider the following projects:

highway - Performance-portable, length-agnostic SIMD with runtime dispatch

Vc - SIMD Vector Classes for C++

Beef - Beef Programming Language

libsimdpp - Portable header-only C++ low level SIMD library

ParallelReductionsBenchmark - Thrust, CUB, TBB, AVX2, CUDA, OpenCL, OpenMP, SyCL - all it takes to sum a lot of numbers fast!

nsimd - Agenium Scale vectorization library for CPUs and GPUs

micro-profiler - Cross-platform low-footprint realtime C/C++ Profiler

FastDifferentialCoding - Fast differential coding functions (using SIMD instructions)

elena-lang - ELENA is a general-purpose language with late binding. It is multi-paradigm, combining features of functional and object-oriented programming. Rich set of tools are provided to deal with message dispatching : multi-methods, message qualifying, generic message handlers, run-time interfaces

optuna - A hyperparameter optimization framework

lunix - Lua Unix Module.