Live data from Hacker News

The Rust React Compiler is now native in Vite

blog.master.dev

21–30 of 59 posts

Re: The Rust React Compiler is now native in Vite

#23
post #19

OXC Transformers are amazingly faster than Babel. I'm building a framework ( https://github.com/vmsp/flypath ) for web, iOS and Android native development that's fully backed by OXC and Vite. Instead of transforming styles using Babel like StyleX, I just use OXC. Instead of Metro (React Native's bundler), which also uses Babel, it's just Vite. It's still very early but it's plenty, plenty fast.

Cool stuff. I'm moving One[stack.dev] onto pure rust now, and Tamagui v3 compiler will also is moving from Babel to Yuku which is quite interesting - from my testing it's more flexible and quite a bit faster than OXC.

Re: The Rust React Compiler is now native in Vite

#27
post #4

No more babel in my compilation pipeline, yay!

Finally got rid of Webpack in 2022, and now I'll be able to get rid of Babel, too.

It's a bit mesmerizing to think that Vite at the time was still "that newish tool the Vue folk use", and now it's pretty much the standard bundler for web frontend. Also the easiest one to configure and use (in my experience).

Similarly, I'm glad I don't have to deal with karma, jest, etc. anymore.

Re: The Rust React Compiler is now native in Vite

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

As funny as it is, it was removed by this miserable community :/

Re: The Rust React Compiler is now native in Vite

#29
post #4

No more babel in my compilation pipeline, yay!

It’s just the best thing ever. Compiling at work took a minute for full builds with babel, and with rsbuild it now takes about 0.9 seconds.

Rust is such an awesome language. The execution times are blazing fast.
Post reply on HN