C++ is making me depressed / CUDA question

This page summarizes the projects mentioned and recommended in the original post on /r/rust

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
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. Rust-CUDA

    Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.

    And here's an example on how to add two floats using Rust-CUDA: https://github.com/Rust-GPU/Rust-CUDA/blob/master/examples/cuda/gpu/add_gpu/src/lib.rs

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

    Time Ordered Astrophysics Scalable Tools (by hpc4cmb)

    If you just want to do a matrix multiplication with CUDA (and not inside some CUDA code), you should use cuBLAS rather than CUTLASS (here is some wrapper code I wrote and the corresponding helper functions if your difficulty is using the library rather than linking it / building), it is a fairly straightforward BLAS replacement (it can be a pain to install but that is life with C++/nvidia).

  4. jax

    Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more

    If you just want to do some numerical code that requires linear algebra and GPU, your best bet would be Julia or Python+JAX.

  5. spack

    A flexible package manager that supports multiple versions, configurations, platforms, and compilers.

    Trilinos is a pain to install and get working, I recommend using Spack or a similar tool to deal with it.

  6. nalgebra

    Linear algebra library for Rust.

    If you do not need GPU then I would recommend looking into Eigen in C++, nalgebra in Rust (with a BLAS in both cases for improved performance) or one of the above options (Julia / Python+JAX).

  7. CUDA.jl

    CUDA programming in Julia.

    If you just want to do some numerical code that requires linear algebra and GPU, your best bet would be Julia or Python+JAX.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Building a compile-time SIMD optimized smoothing filter

    4 projects | news.ycombinator.com | 28 Sep 2024
  • Genetically synthesized supergain broadband wire-bundle antenna

    2 projects | news.ycombinator.com | 31 Jul 2024
  • Show HN: Adding Mistral Codestral and GPT-4o to Jupyter Notebooks

    14 projects | news.ycombinator.com | 2 Jul 2024
  • Generics in Rust: murky waters of implementing foreign traits on foreign types

    2 projects | dev.to | 3 Jun 2024
  • Rebuilding TensorFlow 2.8.4 on Ubuntu 22.04 to patch vulnerabilities

    5 projects | dev.to | 2 Jun 2024

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