News for hackers. Stuff that matters.
Re:Vite 8.0 Is Out by pjmlp on Friday March 13, 2026 @03:03AM (#47361462)
Another rewrite in Rust.

What about finally stop using node.js for server side development?

Re:Vite 8.0 Is Out by hrmtst93837 on Friday March 13, 2026 @03:59AM (#47361727)
Rust works well for toolchains where speed counts and you can control deps, but it's a much bigger ask for server-side app logic where teams lean on JS and its libraries. Switching an established stack to Rust hits hiring and maintenance friction fast, especially with async and lifetime bugs. For Vite's community, requiring plugin authors to redo everything in Rust would probably destroy most of the value users care about.
Re:Vite 8.0 Is Out by pjmlp on Friday March 13, 2026 @04:25AM (#47361871)
It has worked perfectly fine with compiled languages until someone had the idea to use V8 outside of the browser.

In fact it still does, I only use node when forced to do so by project delivery where "backend" implies something like Next.js full stack, or React apps running on iframes from SaaS products.

Re:Vite 8.0 Is Out by esafak on Friday March 13, 2026 @10:33AM (#47365040)
> ... it's a much bigger ask for server-side app logic where teams lean on JS and its libraries.

Well that's where they went wrong.

Re:Vite 8.0 Is Out by CodeCompost on Friday March 13, 2026 @03:51AM (#47361694)
Node as a compiler runtime or node as a runtime runtime?
Re:Vite 8.0 Is Out by pjmlp on Friday March 13, 2026 @04:26AM (#47361872)
Anything backend related.
Re:Vite 8.0 Is Out by vijaybritto on Friday March 13, 2026 @03:18AM (#47361535)
This is for tooling.

Node.js has been extraordinarily useful for building build tools. We're outgrowing it's capacity and rightfully moving to a compiled language. Also faster tooling is essential for establishing a high quality feedback loop for AI agents

Re:Vite 8.0 Is Out by pjmlp on Friday March 13, 2026 @03:26AM (#47361575)
Why go halfway, embrace compiled languages in the backend.

Fast all the way down, especially when coupled with REPL tooling.

Re:Vite 8.0 Is Out by omnimus on Friday March 13, 2026 @03:49AM (#47361685)
Because writing Rust backend is needlessly complex for majority of projects.
Re:Vite 8.0 Is Out by potwinkle on Friday March 13, 2026 @04:14AM (#47361813)
I've had a great time using Rust with Actix as the framework.
Re:Vite 8.0 Is Out by pjmlp on Friday March 13, 2026 @04:24AM (#47361863)
Still easier than dealing with node dependencies, webpack and co, they make me wish to write ASP with OCX components instead.
Re:Vite 8.0 Is Out by drawfloat on Friday March 13, 2026 @04:33AM (#47361924)
Your complaint is with Vite – famously incredibly simple and reliable to work with – using Rust, but you're bringing up webpack's complexity?

Node dependencies are fine, add an npmrc file to have it default to exact versioning and you solve 90% of common day to day problems. It's not ideal, but nor is cargo's mystery meat approach to importing optional features from packages.

Re:Vite 8.0 Is Out by pjmlp on Friday March 13, 2026 @04:36AM (#47361945)
My remark, and not complaint, is that the fashion to rewrite everything in Rust across the JavaScript ecosystem proves the point of holding it wrong.

Maybe leave JavaScript on the browser, where it belongs.

Re:Vite 8.0 Is Out by drawfloat on Friday March 13, 2026 @03:02PM (#47368257)
Rewriting build time tooling to Rust is leaving Javascript on the browser?
Re:Vite 8.0 Is Out by omnimus on Friday March 13, 2026 @05:20PM (#47370087)
Somebody just really dislikes JS. I sympathize. I wouldn't (be able to) write backend in Rust though.
Re:Vite 8.0 Is Out by pjmlp on Saturday March 14, 2026 @01:57AM (#47373769)
Why stop at tbe build tools, take JS ecosystem out of the backend.
Re:Vite 8.0 Is Out by maccard on Friday March 13, 2026 @04:49AM (#47362014)
There’s a middle ground between node and rust. Dotnet and Java are wildly productive places to work but they’re not as exciting as rust.

Also, writing JavaScript for the backend is needlessly underperforming for anything with any load.

Re:Vite 8.0 Is Out by wiseowise on Friday March 13, 2026 @04:00AM (#47361729)
It takes tooling team and discipline to keep compile times at bay when you reach mid size projects with compiled languages (looking at you Java, C++, Rust).
Re:Vite 8.0 Is Out by pjmlp on Friday March 13, 2026 @04:25AM (#47361866)
Lack of discipline is exactly the magic word regardig the node ecosystem mess.
Re:Vite 8.0 Is Out by wiseowise on Friday March 13, 2026 @05:43AM (#47362344)
Maybe? The point still stands that majority of programmers/industry is not equipped to deal with this adequately.
Re:Vite 8.0 Is Out by christophilus on Friday March 13, 2026 @05:58AM (#47362426)
But, it doesn’t need to be so. Go is pretty fast to compile. So is Jai, from what I’ve seen. So was TurboPascal. Rust has a similar problem to the one Vite has been solving- Rust (and most languages) weren’t designed for compilation speed, and it’s hard to retroactively fix that. But, there’s no reason we shouldn’t have a bunch of statically typed, fast-to-compile languages.
Re:Vite 8.0 Is Out by pjmlp on Friday March 13, 2026 @06:08AM (#47362479)
I agree with your remark, only that Rust's current problem is tooling, not the language itself.

See OCaml or Haskell, they also have interpreters and REPLs as part of their tooling.

Also there should be no need to always compile crates from scratch when starting a new project.

Which ironically circles back to your remark of having a similar problem.

Re:Vite 8.0 Is Out by maccard on Friday March 13, 2026 @04:51AM (#47362030)
I’m with you. It’s very telling when all of the tools are being rewritten and seeing orders of magnitudes of speed ups.

It just shows that people don’t value the actual performance of what they’re running.

Re:Vite 8.0 Is Out by mmusc on Friday March 13, 2026 @04:53AM (#47362038)
isnt that what projects like bun are aiming to do?