frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: RunMat – runtime with auto CPU/GPU routing for dense math

https://github.com/runmat-org/runmat
9•nallana•1h ago
Hi, I’m Nabeel. In August I released RunMat as an open-source runtime for MATLAB code that was already much faster than GNU Octave on the workloads I tried. https://news.ycombinator.com/item?id=44972919

Since then, I’ve taken it further with RunMat Accelerate: the runtime now automatically fuses operations and routes work between CPU and GPU. You write MATLAB-style code, and RunMat runs your computation across CPUs and GPUs for speed. No CUDA, no kernel code.

Under the hood, it builds a graph of your array math, fuses long chains into a few kernels, keeps data on the GPU when that helps, and falls back to CPU JIT / BLAS for small cases.

On an Apple M2 Max (32 GB), here are some current benchmarks (median of several runs):

* 5M-path Monte Carlo * RunMat ≈ 0.61 s * PyTorch ≈ 1.70 s * NumPy ≈ 79.9 s → ~2.8× faster than PyTorch and ~130× faster than NumPy on this test.

* 64 × 4K image preprocessing pipeline (mean/std, normalize, gain/bias, gamma, MSE) * RunMat ≈ 0.68 s * PyTorch ≈ 1.20 s * NumPy ≈ 7.0 s → ~1.8× faster than PyTorch and ~10× faster than NumPy.

* 1B-point elementwise chain (sin / exp / cos / tanh mix) * RunMat ≈ 0.14 s * PyTorch ≈ 20.8 s * NumPy ≈ 11.9 s → ~140× faster than PyTorch and ~80× faster than NumPy.

If you want more detail on how the fusion and CPU/GPU routing work, I wrote up a longer post here: https://runmat.org/blog/runmat-accel-intro-blog

You can run the same benchmarks yourself from the GitHub repo in the main HN link. Feedback, bug reports, and “here’s where it breaks or is slow” examples are very welcome.

Comments

constantcrying•21m ago
Writing a (somewhat?) Matlab compatible interpreter and runtime, which targets GPU and CPU simultaneously, is certainly impressive.

But, who is this for? Matlab users? Python users? Julia users? Do you have an aim with this project or is it just for fun?

salvesefu•5m ago
From the Website: "If you write math in MATLAB and hit performance walls on CPU, RunMat is built for you."

Show HN: Marmot – Single-binary data catalog (no Kafka, no Elasticsearch)

https://github.com/marmotdata/marmot
43•charlie-haley•1h ago•7 comments

Show HN: RunMat – runtime with auto CPU/GPU routing for dense math

https://github.com/runmat-org/runmat
9•nallana•1h ago•2 comments

Show HN: Open-source full-stack starter built on TanStack Start

https://github.com/BearStudio/start-ui-web
6•ivandalmet•48m ago•1 comments

Show HN: A simple Markdown note app with templates and PDF support

https://www.panto.app
3•peterwoodman•1h ago•2 comments

Show HN: CoThou – Control what AI search engines say about your business

https://cothou.com/
2•MartyD•1h ago•0 comments

Show HN: Webclone.js – A simple tool to clone websites

https://github.com/jademsee/webclone
15•jadesee•11h ago•3 comments

Show HN: I wrote a book for software engineers, based on 11 years at Uber

https://rfonti.gumroad.com/l/playbook
4•ten-fold•1h ago•2 comments

Show HN: RFC Hub

https://rfchub.app/
27•tlhunter•23h ago•9 comments

Show HN: Doomscrolling Research Papers

https://www.openpaperdigest.com/
10•davailan•6h ago•5 comments

Show HN: Elf – A CLI Helper for Advent of Code

https://github.com/cak/elf
3•cak•6h ago•3 comments

Show HN: An AI zettelkasten that extracts ideas from articles, videos, and PDFs

https://github.com/schoblaska/jargon
34•schoblaska•22h ago•7 comments

Show HN: Visual, local-first data tool

https://columns.dev/
3•rafferty97•6h ago•1 comments

Show HN: I want food – Simple swipe based restaurant discovery app

https://iwant.food/
4•b44rd•7h ago•2 comments

Show HN: I was reintroduced to computers: Raspberry Pi

https://airoboticist.blog/2025/12/01/i-was-reintroduced-to-computers-raspberry-pi/
4•observer2022•7h ago•1 comments

Show HN: Boing

https://boing.greg.technology/
765•gregsadetsky•2d ago•144 comments

Show HN: FFmpeg Engineering Handbook

https://github.com/endcycles/ffmpeg-engineering-handbook
14•endcycles•1d ago•0 comments

Show HN: Real-time system that tracks how news spreads across 200k websites

https://yandori.io/news-flow/
251•antiochIst•6d ago•70 comments

Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana

https://github.com/gavrielc/Nano-PDF
171•GavCo•2d ago•39 comments

Show HN: Fixing Google Nano Banana Pixel Art with Rust

https://github.com/Hugo-Dz/spritefusion-pixel-snapper
187•HugoDz•6d ago•34 comments

Show HN: Explicode – Write Markdown in code comments

2•ben8888•12h ago•0 comments

Show HN: Watsn.ai – Scarily accurate lie detector

https://watsn.ai/
3•flx1012•13h ago•2 comments

Show HN: NeurIPS 2025 Poster Navigator

https://neurips2025.tiptreesystems.com/
3•martincsweiss•15h ago•0 comments

Show HN: KiDoom – Running DOOM on PCB Traces

https://www.mikeayles.com/#kidoom
361•mikeayles•6d ago•49 comments

Show HN: Net RazorConsole – Build Interactive TUI with Razor and Spectre.Console

https://razorconsole.github.io/RazorConsole/
3•BigBigMiao•15h ago•0 comments

Show HN: Furnace – the ultimate chiptune music tracker

15•hilti•1d ago•0 comments

Show HN: Glasses to detect smart-glasses that have cameras

https://github.com/NullPxl/banrays
503•nullpxl•4d ago•193 comments

Show HN: My pushback against ANPR carparks in the UK

https://www.getstung.io/
2•keooodev•19h ago•0 comments

Show HN: Identifiy test coverage gaps in your Go projects

https://github.com/LeanerCloud/testvet
8•alien_•1d ago•1 comments

Show HN: Cm-colors –I got tired of manually fixing wcag contrast,so I made this

https://github.com/comfort-mode-toolkit/cm-colors
5•lalithaar•20h ago•0 comments

Show HN: An LLM-Powered Tool to Catch PCB Schematic Mistakes

https://netlist.io/
54•wafflesfreak•3d ago•29 comments