๐ RunMat: Modern Free MATLAB Compatible Runtime
A blazing-fast, open-source MATLAB/Octave runtime, by the creators of Dystr
๐ Website โข ๐ Documentation
What is RunMat?
RunMat is a modern, high-performance runtime for MATLABยฎ and GNU Octave code that eliminates license fees, vendor lock-in, and performance bottlenecks. Built from the ground up in Rust with a V8-inspired architecture, it delivers:
- ๐ 150-180x faster execution than Octave through JIT compilation
- โก Instant startup (5ms vs 900ms+ in Octave) via advanced snapshotting
- ๐จ GPU-accelerated plotting that's beautiful and responsive
- ๐ Native Jupyter support with rich interactive widgets
- ๐ก๏ธ Memory safety and zero crashes guaranteed by Rust
- ๐ฐ $0 licensing costs - completely free and open source
๐ Performance Benchmarks
Benchmarks run on Apple M2 Max with BLAS/LAPACK optimization. See benchmarks/ for reproducible test scripts and detailed results.
Why Engineers and Scientists Love RunMat
๐ฌ For Researchers & Academics
- Run existing MATLAB scripts without expensive licenses
- Reproducible science with open-source tools
- Fast iteration cycles for algorithm development
- Publication-quality plots that render beautifully
โ๏ธ For Engineers & Industry
- Embed scientific computing in production systems
- No vendor lock-in or licensing audits
- Deploy to cloud/containers without restrictions
- Modern CI/CD integration out of the box
๐ฏ Quick Start
Installation
# Quick install (Linux/macOS)
|
# Quick install (Windows PowerShell)
|
# Or install from crates.io
# Or build from source
&&
Linux prerequisite
For BLAS/LAPACK acceleration on Linux, install the system OpenBLAS package before building:
&&
Run Your First Script
# Start the interactive REPL
# Or run an existing .m file
# Or pipe a script into RunMat
|
Jupyter Integration
# Register RunMat as a Jupyter kernel
# Launch JupyterLab with RunMat support
๐ See It In Action
MATLAB Compatibility
% Your existing MATLAB code just works
= ;
= ' * ;
= eig;
plot;
Performance That Scales
% Matrix operations that fly - 150x+ faster than Octave
= 1000;
= randn;
= randn;
tic; = * ; toc % Executes in ~5ms vs 800ms+ in Octave
Beautiful, Interactive Plotting (experimental)
% Create a stunning 3D surface plot
= meshgrid;
= .* exp;
surf;
๐๏ธ Architecture: V8-Inspired Performance
RunMat's tiered execution engine delivers both fast startup and blazing runtime performance.
Key Components
| Component | Purpose | Technology |
|---|---|---|
| ๐ฏ runmat-ignition | Baseline interpreter for instant startup | HIR-to-bytecode compiler + stack-based interpreter |
| โก runmat-turbine | Optimizing JIT compiler for hot code | Cranelift backend |
| ๐ง runmat-gc | High-performance memory management | Generational GC with pointer compression |
| ๐จ runmat-plot | Interactive plotting engine | GPU-accelerated via wgpu |
| ๐ฆ runmat-snapshot | Fast startup system | Binary blob serialization |
| ๐ง runmat-runtime | 50+ builtin functions | BLAS/LAPACK integration |
๐จ Modern Developer Experience
Rich REPL with Intelligent Features
)
)
)
First-Class Jupyter Support
- Rich output formatting with LaTeX math rendering
- Interactive widgets for parameter exploration
- Seamless plotting integration
- Full debugging support with breakpoints
Extensible Architecture
// Adding a new builtin function is trivial
๐ Who Uses RunMat?
๐ค Join the Revolution
RunMat is more than just softwareโit's a movement toward open, fast, and accessible scientific computing. We're building the future of numerical programming, and we need your help.
๐ ๏ธ How to Contribute
๐ For Rust Developers
- Implement new builtin functions
- Optimize the JIT compiler
- Enhance the garbage collector
- Build developer tooling
๐ฌ For Domain Experts
- Add mathematical functions
- Improve MATLAB compatibility
- Write comprehensive tests
- Create benchmarks
๐ For Everyone Else
- Report bugs and feature requests
- Improve documentation
- Create tutorials and examples
- Spread the word
๐ฌ Connect With Us
- GitHub Discussions: Share ideas and get help
- Twitter: @dystr_ai for updates and announcements
- Newsletter: Subscribe for monthly updates
๐ License
RunMat is licensed under the MIT License with Attribution Requirements. This means:
โ
Free for everyone - individuals, academics, most companies
โ
Open source forever - no vendor lock-in or license fees
โ
Commercial use allowed - embed in your products freely
โ ๏ธ Attribution required - credit "RunMat by Dystr" in public distributions
โ ๏ธ Special provisions - large scientific software companies must keep modifications open source
See LICENSE.md for complete terms or visit runmat.org/license for FAQs.
Built with โค๏ธ by Dystr Inc. and the RunMat community
โญ Star us on GitHub if RunMat helps your work!
๐ Get Started โข ๐ฆ Follow @dystr
MATLABยฎ is a registered trademark of The MathWorks, Inc. RunMat is not affiliated with, endorsed by, or sponsored by The MathWorks, Inc.