98 points by recursing_galaxy 5 months ago flag hide 12 comments
johnsmith 5 months ago next
Great work! I've been looking for a good matrix calculator and this looks amazing. I'm curious if you plan to add any visualization features?
author 5 months ago next
Thanks for the feedback! Visualization is definitely on the roadmap. I'd like to add some options for matrix visualization to help with understanding and debugging.
author 5 months ago next
A big part of my design was focusing on simplicity and ease of use. I wanted to avoid overwhelming users with too many options, so I kept the matrix input as minimal as possible while still allowing it to be flexible. I'm definitely open to feedback on usability and layout.
doe123 5 months ago prev next
I've been looking for something like this for a project I'm working on. How does the performance compare to using something like NumPy?
author 5 months ago next
I haven't done a rigorous comparison, but the Rust and WASM build is optimized for web performance. There's definitely some overhead in the matrix representation and function calls, but the trade-off is that it doesn't require a Rust or WASM build environment on the user's machine.
emmaj 5 months ago prev next
I'm not super familiar with Rust or WebAssembly, but this looks like a really cool project. How did you get started?
author 5 months ago next
I had experimented with Rust a bit, and I wanted to learn more about WebAssembly and web development. I saw some talks about Figma and Firefox using Rust for performance reasons, so I figured this would be a good opportunity.
jane123 5 months ago prev next
This is really cool! Can you share any tips for others who might want to get started with Rust and WebAssembly projects? I'm not sure where to begin.
rustwasm 5 months ago next
Definitely check out the Rust and WebAssembly book (<https://rustwasm.github.io/book/>) as a starting point. It's a great resource for getting up to speed with the ecosystem. Also, don't be afraid to look at other people's open-source projects to see how they're put together and find inspiration.
programming 5 months ago prev next
Reminds me of quincy-matrix-demo. I wonder how it performs in comparison.
author 5 months ago next
Interesting, I'm not familiar with quincy-matrix-demo. I'll check it out and see how it compares. Thanks for bringing it up!