Also on the team here. Feel free to ask any questions — we’ll be monitoring this thread for the next few hrs! Curious what other’s views on DSLs are post-LLMs too
runmat-org/runmat
RunMat
runmat-org/runmat
RunMat
Open-source MATLAB runtime and compiler that accelerates math via GPU offload and compiles MATLAB code to standalone native executables.
Visit project- First shared
- Sep 10, 2026
- HN activity
- 31
Show HN@finbarr1987Sep 10, 2026
Show HN: Compiling Matlab Code to Native Executables with RunMat
I'm on the RunMat team. Prior releases of RunMat focused on accelerating large math w/ auto offload to GPUs via transpiling to WGPU shaders, and correct interpretation of the MATLAB language semantics (we're 99%+ on grammar / semantics now). We left a placeholder for a Cranelift based JIT, and when we went back to fill it in, we though -- why not take it a bit further. Since we were putting in the logic for branches of the CFG to be compiled to native code, we figured why not fundamentally build it such that you could run "runmat compile simulation.m -o simulation" and get a standalone binary target. I.e. compile a MATLAB input project into to a standalone native binary target. We've detailed more in the blog. There's a bit of work we're finishing still, but a build with the core native compile pieces is now out (we still have to propagate some metadata through the runtime library such that the compiler can effectively tree shake, and some portions of the system still need Cranelift translation logic, but the remaining work is relatively mechanical [and already in progress]). The RunMat compiler and runtime are open source: https://github.com/runmat-org/runmat
Community