Tutorials
Practical guides for Mir and D numerical computing — ndslice vs NumPy, BetterC programming, setting up a D scientific computing project, and more.
Task-oriented guides for numerical computing in D. Every code example is compiled against the current Mir source.
ndslice Cookbook
Common recipes — create, reshape, slice, map, reduce, and fuse multidimensional arrays.
ndslice vs NumPy
Side-by-side comparison of ndslice and NumPy operations. For Python developers learning D.
Random Numbers & Distributions
Reproducible PRNGs and sampling from uniform, normal, exponential, and gamma distributions.
Serialization (JSON / MessagePack / ION)
One set of attributes, many formats — serialize D structs with mir-ion.
Linear Algebra
Matrix-vector and matrix-matrix products, dot products, BLAS on ndslice.
BetterC guide
Writing GC-free, runtime-free D code with mir-core and mir-algorithm.
dcompute — GPU Computing for D
dcompute lets you write GPU compute kernels in D that compile to OpenCL and CUDA targets. Archive page — the library is no longer actively maintained.
ndslice vs NumPy — Side-by-Side
A practical comparison of D's mir ndslice and Python's NumPy. Every common NumPy pattern mapped to its ndslice equivalent, with notes on performance and differences.