<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Shaurya Ojha</title>
    <description>The latest articles on DEV Community by Shaurya Ojha (@shauryaaojha).</description>
    <link>https://dev.to/shauryaaojha</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4208325%2F72eede0e-ef96-454f-8c37-b402de8e5d83.jpg</url>
      <title>DEV Community: Shaurya Ojha</title>
      <link>https://dev.to/shauryaaojha</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shauryaaojha"/>
    <language>en</language>
    <item>
      <title>Migrating entire NumPy into Native Rust "RUSTNUM"</title>
      <dc:creator>Shaurya Ojha</dc:creator>
      <pubDate>Mon, 26 Oct 2026 14:41:46 +0000</pubDate>
      <link>https://dev.to/shauryaaojha/migrating-entire-numpy-into-native-rust-rustnum-43k8</link>
      <guid>https://dev.to/shauryaaojha/migrating-entire-numpy-into-native-rust-rustnum-43k8</guid>
      <description>&lt;p&gt;&lt;a href="https://crates.io/crates/rustnum" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>numpy</category>
      <category>machinelearning</category>
      <category>rust</category>
      <category>python</category>
    </item>
    <item>
      <title>I’m Building NumPy in Rust: Introducing rustnum</title>
      <dc:creator>Shaurya Ojha</dc:creator>
      <pubDate>Mon, 26 Oct 2026 09:49:22 +0000</pubDate>
      <link>https://dev.to/shauryaaojha/im-building-numpy-in-rust-introducing-rustnum-3ip7</link>
      <guid>https://dev.to/shauryaaojha/im-building-numpy-in-rust-introducing-rustnum-3ip7</guid>
      <description>&lt;p&gt;I’ve been working on &lt;strong&gt;&lt;code&gt;rustnum&lt;/code&gt;&lt;/strong&gt;, a pure-Rust, NumPy-style n-dimensional array library for Rust.&lt;/p&gt;

&lt;p&gt;The goal is to make scientific computing and machine-learning-related numerical code more approachable for Rust developers while keeping the implementation portable and free from system BLAS or Fortran dependencies.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why build another numerical array library?
&lt;/h2&gt;

&lt;p&gt;Rust already has excellent numerical libraries, including &lt;a href="https://crates.io/crates/ndarray" rel="noopener noreferrer"&gt;&lt;code&gt;ndarray&lt;/code&gt;&lt;/a&gt;. However, while working on ML infrastructure, I wanted to explore a different API and implementation strategy:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One dynamic-dimensional &lt;code&gt;Array&amp;lt;T&amp;gt;&lt;/code&gt; type&lt;/li&gt;
&lt;li&gt;NumPy-inspired function names&lt;/li&gt;
&lt;li&gt;Familiar broadcasting and slicing&lt;/li&gt;
&lt;li&gt;Pure-Rust numerical kernels&lt;/li&gt;
&lt;li&gt;Optional parallelism through Rayon&lt;/li&gt;
&lt;li&gt;Runtime SIMD acceleration where available&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This project is also part of a larger experiment: rebuilding parts of the Python ML stack in Rust, one library at a time.&lt;/p&gt;

&lt;h2&gt;
  
  
  A NumPy-style Rust API
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight rust"&gt;&lt;code&gt;&lt;span class="k"&gt;use&lt;/span&gt; &lt;span class="n"&gt;rustnum&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;fn&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;let&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;&lt;span class="p"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;arange&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;6.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;1.0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="nf"&gt;.reshape&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;]);&lt;/span&gt;

    &lt;span class="k"&gt;let&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;&lt;span class="p"&gt;::&lt;/span&gt;&lt;span class="nd"&gt;array!&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mf"&gt;10.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;20.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;30.0&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;

    &lt;span class="c1"&gt;// Broadcasting: [2, 3] + [3]&lt;/span&gt;
    &lt;span class="k"&gt;let&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="nd"&gt;println!&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"{c}"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nd"&gt;println!&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"sum = {}"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="nf"&gt;.sum&lt;/span&gt;&lt;span class="p"&gt;());&lt;/span&gt;
    &lt;span class="nd"&gt;println!&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"column means = {}"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="nf"&gt;.mean_axis&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The API is intentionally familiar to anyone who has used NumPy:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;arange&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;6.0&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;reshape&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;array&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mf"&gt;10.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;20.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;30.0&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The Rust version uses compile-time element types such as &lt;code&gt;Array&amp;lt;f64&amp;gt;&lt;/code&gt;, &lt;code&gt;Array&amp;lt;i64&amp;gt;&lt;/code&gt;, and &lt;code&gt;Array&amp;lt;bool&amp;gt;&lt;/code&gt;, while dimensions remain dynamic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Current features
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;rustnum&lt;/code&gt; currently includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;N-dimensional &lt;code&gt;Array&amp;lt;T&amp;gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Broadcasting&lt;/li&gt;
&lt;li&gt;Slicing with the &lt;code&gt;s!&lt;/code&gt; macro&lt;/li&gt;
&lt;li&gt;Copy-on-write array semantics&lt;/li&gt;
&lt;li&gt;Element-wise arithmetic and comparisons&lt;/li&gt;
&lt;li&gt;Reductions such as:

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;sum&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mean&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;std&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;median&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;percentile&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;argmax&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Shape manipulation:

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;reshape&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;transpose&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;concatenate&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;stack&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;split&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;flip&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;roll&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;sort&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Linear algebra:

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;matmul&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;solve&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;inv&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;det&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;lstsq&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;cholesky&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;qr&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;eigh&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;svd&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Random number generation&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;.npy&lt;/code&gt; and CSV file I/O&lt;/li&gt;
&lt;li&gt;Optional Rayon parallelism&lt;/li&gt;
&lt;li&gt;AVX2/FMA fast paths with portable scalar fallbacks&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Packed GEMM in pure Rust
&lt;/h2&gt;

&lt;p&gt;One of the more interesting parts of the project is matrix multiplication.&lt;/p&gt;

&lt;p&gt;For &lt;code&gt;f32&lt;/code&gt; and &lt;code&gt;f64&lt;/code&gt;, &lt;code&gt;rustnum&lt;/code&gt; uses a packed GEMM implementation with cache blocking and AVX2/FMA micro-kernels when supported by the CPU.&lt;/p&gt;

&lt;p&gt;The implementation has:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Packed matrix panels&lt;/li&gt;
&lt;li&gt;Cache-aware blocking&lt;/li&gt;
&lt;li&gt;AVX2/FMA kernels&lt;/li&gt;
&lt;li&gt;Portable scalar fallback&lt;/li&gt;
&lt;li&gt;Optional Rayon parallelism&lt;/li&gt;
&lt;li&gt;Fused output transformations through &lt;code&gt;matmul_map&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is no dependency on OpenBLAS, MKL, a C compiler, or a Fortran compiler.&lt;/p&gt;

&lt;h2&gt;
  
  
  A large matrix workload
&lt;/h2&gt;

&lt;p&gt;I tested a configurable workload consisting of 12 iterations of two &lt;code&gt;8192 × 8192&lt;/code&gt; matrix multiplications per iteration, applying &lt;code&gt;tanh&lt;/code&gt; after each multiplication.&lt;/p&gt;

&lt;p&gt;On one Windows 11 machine with 18 hardware threads:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Implementation&lt;/th&gt;
&lt;th&gt;Time&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;NumPy with OpenBLAS&lt;/td&gt;
&lt;td&gt;237.686 seconds&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;rustnum&lt;/td&gt;
&lt;td&gt;140.652 seconds&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;This is a single-machine reference measurement, not a universal performance claim. Results vary depending on the CPU, memory bandwidth, BLAS implementation, thread settings, and compiler version.&lt;/p&gt;

&lt;p&gt;The workload can be run with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$&lt;/span&gt;&lt;span class="nn"&gt;env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nv"&gt;SIZE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;8192&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="nv"&gt;$&lt;/span&gt;&lt;span class="nn"&gt;env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nv"&gt;ITERATIONS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;cargo&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;run&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;--release&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-p&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;rustnum&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;--example&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;heavy_matmul&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The equivalent Python workload is included in the repository as well.&lt;/p&gt;

&lt;h2&gt;
  
  
  Testing against NumPy
&lt;/h2&gt;

&lt;p&gt;Correctness is more important than benchmark numbers for a numerical library.&lt;/p&gt;

&lt;p&gt;The project includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Unit tests&lt;/li&gt;
&lt;li&gt;Property-based tests&lt;/li&gt;
&lt;li&gt;NumPy-generated parity fixtures&lt;/li&gt;
&lt;li&gt;NPY round-trip tests&lt;/li&gt;
&lt;li&gt;Random-number regression tests&lt;/li&gt;
&lt;li&gt;Linear algebra tests&lt;/li&gt;
&lt;li&gt;Tests with and without Rayon&lt;/li&gt;
&lt;li&gt;Documentation tests&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The main validation commands are:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cargo &lt;span class="nb"&gt;fmt&lt;/span&gt; &lt;span class="nt"&gt;--all&lt;/span&gt;
cargo clippy &lt;span class="nt"&gt;--all-targets&lt;/span&gt; &lt;span class="nt"&gt;--&lt;/span&gt; &lt;span class="nt"&gt;-D&lt;/span&gt; warnings
cargo &lt;span class="nb"&gt;test&lt;/span&gt; &lt;span class="nt"&gt;--all-features&lt;/span&gt;
cargo &lt;span class="nb"&gt;test&lt;/span&gt; &lt;span class="nt"&gt;--no-default-features&lt;/span&gt;
cargo doc &lt;span class="nt"&gt;--no-deps&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;

&lt;p&gt;The crate is available on crates.io:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cargo add rustnum
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or add it manually:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight toml"&gt;&lt;code&gt;&lt;span class="k"&gt;[&lt;/span&gt;&lt;span class="n"&gt;dependencies&lt;/span&gt;&lt;span class="k"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;rustnum&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;"0.1.0"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Documentation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/shauryaaojha/rustnum" rel="noopener noreferrer"&gt;GitHub repository&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://crates.io/crates/rustnum" rel="noopener noreferrer"&gt;crates.io&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.rs/rustnum" rel="noopener noreferrer"&gt;docs.rs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Current limitations
&lt;/h2&gt;

&lt;p&gt;This is an early release and is not intended to replace mature numerical libraries yet.&lt;/p&gt;

&lt;p&gt;Some functionality still planned or being developed includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;einsum&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;More complete &lt;code&gt;.npz&lt;/code&gt; support in the public API&lt;/li&gt;
&lt;li&gt;More advanced indexing&lt;/li&gt;
&lt;li&gt;Expanded FFT and polynomial APIs&lt;/li&gt;
&lt;li&gt;Complex-number support&lt;/li&gt;
&lt;li&gt;Python bindings&lt;/li&gt;
&lt;li&gt;More optimized decompositions for SVD, QR, and LU&lt;/li&gt;
&lt;li&gt;Broader platform and architecture testing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The API may also evolve based on real-world feedback.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I’m looking for
&lt;/h2&gt;

&lt;p&gt;I would especially appreciate feedback from Rust and scientific-computing developers about:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Is a single dynamic-dimensional &lt;code&gt;Array&amp;lt;T&amp;gt;&lt;/code&gt; type a useful API?&lt;/li&gt;
&lt;li&gt;How does this design compare with &lt;code&gt;ndarray&lt;/code&gt; for your use cases?&lt;/li&gt;
&lt;li&gt;Which NumPy features should be prioritized next?&lt;/li&gt;
&lt;li&gt;Are the panic-versus-error boundaries intuitive?&lt;/li&gt;
&lt;li&gt;What numerical and performance benchmarks would you like to see?&lt;/li&gt;
&lt;li&gt;Would Python bindings make this project more useful to you?&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;rustnum&lt;/code&gt; started as an experiment in bringing NumPy-like APIs and numerical kernels to Rust. It has now grown into a working crate with broadcasting, linear algebra, random numbers, file I/O, SIMD kernels, and NumPy parity tests.&lt;/p&gt;

&lt;p&gt;If you are interested in Rust-based scientific computing, I would love to hear your thoughts and suggestions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Project:&lt;/strong&gt; &lt;a href="https://github.com/shauryaaojha/rustnum" rel="noopener noreferrer"&gt;github.com/shauryaaojha/rustnum&lt;/a&gt;&lt;/p&gt;




</description>
      <category>rust</category>
      <category>opensource</category>
      <category>machinelearning</category>
      <category>numpy</category>
    </item>
  </channel>
</rss>
