Mir Numerical Libraries
Documentation Archive
Unofficial community archive for the Mir ecosystem — D language libraries for numerical computing, multidimensional arrays, optimization, and serialization. Restored from the original open-source repositories.
Libraries
The libmir GitHub organization hosts 35 repositories. These are the most-used libraries.
Multidimensional arrays, ndslice, functional iteration. The heart of the Mir ecosystem.
View docsAlgebraic types (sumtype / tagged union / variant), universal reflection API, and basic math primitives.
View docsStatistically-sound PRNGs and distributions — Xorshift, PCG, Normal, Gamma, Poisson.
View docsLevenberg-Marquardt nonlinear least-squares and L-BFGS for curve fitting and inverse problems.
View docsZero-copy ION binary and JSON serialization. Auto-generates codecs from struct definitions.
View docsBLAS bindings that accept ndslice directly — dot, gemv, gemm without manual pointer arithmetic.
View docsLAPACK bindings for D — LU, Cholesky, SVD, eigenvalues, linear solvers with ndslice.
View docsExperimental GPU computing for D — write OpenCL/CUDA kernels in D. No longer maintained.
View docsWhy Mir?
BetterC & WebAssembly
Core libraries compile without the D runtime or GC. Ship to WebAssembly, static-link with C, or run in embedded environments — zero GC pauses.
ndslice — NumPy for D
Transpose, reshape, and map are zero-copy lazy views. An entire pipeline like transposed → map → reduce allocates nothing.
Still actively maintained
mir-random committed June 2026. mir-algorithm v3.22.4 shipped June 2025. The ecosystem is alive — just the docs site went dark.
Docs restored
The original libmir.org went offline in early 2026. Maintainer 9il said "feel free to host docs elsewhere" — this is that effort.
About this archive
This is an unofficial community archive and is not affiliated with the original Mir maintainers. Content is derived from the open-source libmir GitHub organization under the Apache-2.0 license. The original libmir.org documentation site went offline in early 2026. Maintainer 9il explicitly invited the community to host docs elsewhere — this site is that effort.