At Hasura we’re in the midst of rebuilding our engine in Rust and I just have to say I am super impressed by the number of libraries that have no problem shipping to wasm32-unknown-unknown.<p>A personal project of mine has been trying to hack apart our newly built engine to shove it in the browser so I can mediate local state with it. It’s going surprisingly well, the only dependencies that gave me any trouble were Axum and open-telemetry both of which aren’t relevant in this case. I am so excited to get SQLite + Hasura engine running in the browser. (Can’t wait until we OSS the v3-engine which is coming soon!)<p>I’m pretty well sold on Rust, I like the trait system, borrowing isn’t nearly as scary as I think it gets made out to be.<p>Curious who else is in the midst of a rewrite? It seems like it’s rewrite in Rust season for lots of people.<p>Anything you’ve learned in the process? Has it been a good decision?
Currently rebuilding a solver for stochastic dynamic programming problems in Rust, which I previously built in C and serves no particular purpose, other than showing my company how some engineering ingenuity can lead to 100x reduced runtimes and costs, if you allow for some deviations from standard processes. Why use a custom cloud HPC setup for multiple 100k a year if a browser does the trick?