Live data from Hacker News

The Rust React Compiler is now native in Vite

blog.master.dev

1–10 of 62 posts

Re: The Rust React Compiler is now native in Vite

#6
post #5

Does this work with reacts fancy new compiler that is meant to optimize away various hooks?

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 )

Re: The Rust React Compiler is now native in Vite

#7
post #2

[flagged]

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”?

Re: The Rust React Compiler is now native in Vite

#8
post #2

[flagged]

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”?

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.

Re: The Rust React Compiler is now native in Vite

#9
post #2

[flagged]

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”?

I think once you have it in Rust the next ask is using no "unsafe" code from that crowd.

Re: The Rust React Compiler is now native in Vite

#10
post #2

[flagged]

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”?

I'd argue for moonbit -- faster compile times, almost as fast, smaller wasm artifacts and like lean can have proof of correctness built in.
Post reply on HN