The Rust React Compiler is now native in Vite

(blog.master.dev)

45 points | by acusti 2 hours ago

4 comments

  • syspec 58 minutes ago
    Does this work with reacts fancy new compiler that is meant to optimize away various hooks?
    • ownagefool 49 minutes ago
      If it wasn't obvious from the article, this is an implementation in the same thing in rust, ergo significantly faster. This was enabled, I presume, by the upstream react introducing code a rust version in source ( but they don't produce a standard binary last I checked )
  • adzm 59 minutes ago
    No more babel in my compilation pipeline, yay!
  • prettycool 1 hour ago
    [dead]
  • glouwbug 1 hour ago
    They should rewrite it in rust
    • VertanaNinjai 18 minutes ago
      As funny as this is I sometimes wonder about that crowd. Assuming the ecosystem at large flips and most software is now written in Rust what will the “rewrite it in Rust” crowd move to? Will they be satisfied for the most part or does it morph into “now rewrite in $latest_rust”?
      • chmod775 5 minutes ago
        You will always have someone say "you should rewrite it in x", but it's rare that something carves out so much ground on the Pareto front you'll get a crowd.
      • wldcordeiro 3 minutes ago
        I think once you have it in Rust the next ask is using no "unsafe" code from that crowd.