mdspan VS papers

Compare mdspan vs papers and see what are their differences.

mdspan

Reference implementation of mdspan targeting C++23 (by kokkos)

papers

ISO/IEC JTC1 SC22 WG21 paper scheduling and management (by cplusplus)
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
mdspan papers
6 85
377 596
2.9% 2.5%
8.5 4.2
3 days ago 20 days ago
C++ Perl
GNU General Public License v3.0 or later -
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.

mdspan

Posts with mentions or reviews of mdspan. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-27.
  • July 2022 ISO C++ committee virtual meeting report
    1 project | /r/cpp | 30 Jul 2022
    Why not use https://github.com/kokkos/mdspan though ?
  • C++ for scientific programming?
    6 projects | /r/cpp | 27 Jul 2022
    It can be the base of whatever *you* write via bindings generators like pybind11. In that sense, the answer to your question is "however you like". For actual simulation code, you'll see a lot more legacy Fortran and C. That said, with things like mdspan maybe being standardized (proposal), efforts towards a standard linear algebra library, and the existence of ubiquitous HPC frameworks already having been written in C++, I would say it's only a matter of time before C++ accounts for an even bigger share of all HPC code.
  • [D] Deep Learning Framework for C++.
    7 projects | /r/MachineLearning | 12 Jun 2022
    I'm aware of only two relevant projects myself, I don't know much, came to reddit kind of by chance. One of the multi-dimensional array libraries proposed for potential standardisation, and a gnu machine learning library that was discontinued which could be worked off of. There's probably a lot more out there, but don't get distracted from making something awesome :)
  • Array template implementation
    1 project | /r/cpp_questions | 7 Mar 2022
    As u/IyeOnline already made the important points about VLAs and std::vector, I would just add that you may find std::mdspan to be a helpful data structure. You can allocate 1d memory and give it a 2d shape of k with nice 2d indexing, eg auto& elem = mymdspan(row, col);.
  • C++23: Near The Finish Line
    11 projects | /r/cpp | 15 Nov 2021
    Kokkos mdspan
  • Is there an OOP-wrapper library for cublas?
    5 projects | /r/CUDA | 9 Aug 2021
    The good thing here is that it heavily relies on mdpsan that is a multidimensional view that handle shape and strides. And kokkos provide a C++14 compatible implementation with a complete CUDA support.

papers

Posts with mentions or reviews of papers. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-07.
  • Qt and C++ Trivial Relocation (Part 1)
    3 projects | news.ycombinator.com | 7 May 2024
    It is slowly making its way through the standards committee. https://github.com/cplusplus/papers/issues/43

    The author has a fork of clang and gcc with some pretty impressive speedups, so I’m hopeful! https://lists.isocpp.org/sg14/2024/04/1127.php

  • Learn Modern C++
    6 projects | news.ycombinator.com | 26 Dec 2023
    What's fun is, because everything is decided in papers, we can find out why! https://github.com/cplusplus/papers/issues/884

    Accepted paper here: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p20...

    > The proposed std::print function improves usability, avoids allocating a temporary std::string object and calling operator<< which performs formatted I/O on text that is already formatted. The number of function calls is reduced to one which, together with std::vformat-like type erasure, results in much smaller binary code (see § 13 Binary code).

    Additionally,

    > Another problem is formatting of Unicode text:

    > std::cout << "Привет, κόσμος!";

    > If the source and execution encoding is UTF-8 this will produce the expected output on most GNU/Linux and macOS systems. Unfortunately on Windows it is almost guaranteed to produce mojibake despite the fact that the system is fully capable of printing Unicode

  • The insanity of compile time programming
    2 projects | /r/cpp_questions | 10 Dec 2023
  • P1673 A free function linear algebra interface based on the BLAS
    1 project | news.ycombinator.com | 23 Nov 2023
  • When will std::linalg make it into a new C++ release?
    1 project | /r/cpp | 14 Sep 2023
    See https://github.com/cplusplus/papers/issues/557
  • C++ Papercuts
    3 projects | news.ycombinator.com | 28 Aug 2023
    Bringing editions to C++ failed, and I am not aware of anyone trying to tackle the issues https://github.com/cplusplus/papers/issues/631

    (I could be wrong though! I follow the committee more than you may guess, but not as much as to think I know everything about what's going on.)

  • Argonne National Lab is attempting to replicate LK-99
    2 projects | news.ycombinator.com | 29 Jul 2023
    GitHub would not be relevant in this respect because:

    * It's owned by a (single) commercial corporation, Microsoft.

    * There is censorship both by content and in some respects by country of origin.

    * The code is closed.

    but otherwise it's an interesting idea.

    The C++ standardization committee uses GitHub to track papers submitted to them, see:

    https://github.com/cplusplus/papers

  • C++23: The Next C++ Standard
    1 project | /r/cpp | 11 Jul 2023
    There was no non-approval. The facility needs more work, and the authors (and the committee) were focusing on getting print/format done first. I hope that the paper will be worked on again in the future. We will be happy to review it once there is a revision (see github for history)
  • What C++ library do you wish existed but hasn’t been created yet?
    18 projects | /r/cpp | 8 Jul 2023
  • 2023-06 Varna ISO C++ Committee Trip Report — First Official C++26 meeting!
    2 projects | /r/cpp | 23 Jun 2023
    For more details on what we did at the 2023-06 Varna meeting, the [GitHub issue](https://github.com/cplusplus/papers/issues/328) associated with the paper has a summary.

What are some alternatives?

When comparing mdspan and papers you can also consider the following projects:

stdBLAS - Reference Implementation for stdBLAS

circle - The compiler is available for download. Get it!

kokkos - Kokkos C++ Performance Portability Programming Ecosystem: The Programming Model - Parallel Execution and Memory Abstraction

compiler-explorer - Run compilers interactively from your web browser and interact with the assembly

C++ Format - A modern formatting library

kokkos-kernels - Kokkos C++ Performance Portability Programming Ecosystem: Math Kernels - Provides BLAS, Sparse BLAS and Graph Kernels

LEWG - Project planning for the C++ Library Evolution Working Group

plf_hive - plf::hive is a fork of plf::colony to match the current C++ standards proposal.

CPM.cmake - 📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.

deepdetect - Deep Learning API and Server in C++14 support for Caffe, PyTorch,TensorRT, Dlib, NCNN, Tensorflow, XGBoost and TSNE

tinyformat - Minimal, type safe printf replacement library for C++