# CSC kills the prospect of multithreading. Shouldn't Julia use CSR?

**URL:** <https://discourse.julialang.org/t/csc-kills-the-prospect-of-multithreading-shouldnt-julia-use-csr/102491>\
**Category:** Julia at Scale\
**Tags:** sparse\
**Created:** [August 4, 2023, 3:22pm UTC](https://discourse.julialang.org/t/csc-kills-the-prospect-of-multithreading-shouldnt-julia-use-csr/102491 "2023-08-04T15:22:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [August 4, 2023, 7:13pm UTC](https://discourse.julialang.org/t/csc-kills-the-prospect-of-multithreading-shouldnt-julia-use-csr/102491/2 "2023-08-04T19:13:50Z")

</div>

I can’t answer as to the reasons of the choice, but I believe this thread is relevant:

> [@What to do since CSR matrixes are not in Sparse Arrays?](https://discourse.julialang.org/t/what-to-do-since-csr-matrixes-are-not-in-sparse-arrays/53991):
>
> Viral B. Shah discussed (in 2015!) why CSR matrixes were not included in Sparse Arrays: [link](https://youtu.be/Xqfa_irN69g?t=2213). The justification makes sense, but I now find myself wishing there was an easy way to access CSR sparse array. I just want to get stuff done, and I don’t care much about the elegance of the abstraction design at the current time. Does anyone have suggestions for an easy work-around so that I can use a CSR matrix? A few “solutions” I’ve considered: Bite the bullet and implement a CSR matrix from the …

And it looks like someone coded the multithreaded version in Julia too:

> **[GitHub - BacAmorim/ThreadedSparseCSR.jl: Multithreaded mat-vec multiplication...](https://github.com/BacAmorim/ThreadedSparseCSR.jl)**
>
> Multithreaded mat-vec multiplication for sparse matrices in the CSR format, in Julia - GitHub - BacAmorim/ThreadedSparseCSR.jl: Multithreaded mat-vec multiplication for sparse matrices in the CSR f...

---

_[View the full topic](https://discourse.julialang.org/t/csc-kills-the-prospect-of-multithreading-shouldnt-julia-use-csr/102491)._
