Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> you write routes and logic in JavaScript, and the CLI compiles everything into a single Rust + Axum binary using the Boa JS engine

It's not clear to me how this would have better performance than plain Node.js, which is a C++ binary using the V8 JS engine.

It looks like you're handling routing in Rust, but this seems unlikely to move the needle measurably. In fact, it could be hurting you - you're basically betting that the rust program (route request + invoke JS interpreter + marshal data) is faster than the much simpler JavaScript program (route request). That doesn't seem likely.





does it offer easy ways for writing the hot-path in Rust? if yes it might be useful even if the non-optimized requests are a bit slower.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: