Writing an eigenvalue solver in Rust for WebAssembly
abstractnonsense.xyz·6h·
Discuss: Hacker News
Preview
Report Post

2025.12.31

Writing an eigenvalue solver in Rust for WebAssembly

I recently stumbled across the Gershgorin Circle Theorem and thought it was perfectly suited to an interactive visualisation:

The problem is I’m no web developer, and I don’t really like JavaScript. So, the eigenvalue computation in the interactive component above is written in Rust, compiled to WebAssembly, and wrapped up with some HTML and JavaScript. As the old mathematics adage goes: if you can’t solve the base problem, turn it into multiple problems.

Since I’ve been looking for a project to start learning Rust with, I figured this’d make for a great learning opportunity. In the spirit of [learning in the open](https://simonwillison.net/2022/Nov/6/wh…

Similar Posts

Loading similar posts...