In the next version of Bun
`bun build --react-compiler` runs the React Compiler in Rust
On a large React codebase, it's 19x faster than the Babel plugin
In the next version of Bun
`bun build --react-compiler` runs the React Compiler in Rust
On a large React codebase, it's 19x faster than the Babel plugin
Some users praised Bun's new Rust-based React compiler for delivering much faster builds while others expressed frustration over the team's repeated failure to publish a promised blog post.
No Digg Deeper questions have been answered for this story yet.
It runs the same test suite as the upstream react compiler version with tests for flow type and meta’s intl library skipped
In the next version of Bun
`bun build --react-compiler` runs the React Compiler in Rust
On a large React codebase, it's 19x faster than the Babel plugin
I did spend some time making it faster for bun’s usecase
It runs the same test suite as the upstream react compiler version with tests for flow type and meta’s intl library skipped

@jarredsumner How does it compare to esbuild ?

@jarredsumner at this point, the blog post of bun rewrite has become a joke. no matter what jarred posts everyone just wants a blog post

@jarredsumner How much does the binary size increase?

@MeirBlachman This codebase doesn’t use it but bun’s bundler plugins snd esbuild’s plugins work similarly and afaik esbuild doesn’t have a react compiler builtin so it probably is the same as the Babel version

@jarredsumner Is writing the promised Blog a joke to you? Concentrate please.

@jarredsumner Congrats, but where is the blog article and the comparison btw Zig and Rust?

@jarredsumner bun build --when-blog
Warning: The resulting post is 99.8% complete, but it includes a memory leak where the author forgets to publish it.

@typosquattage React is 13 years old and still wildly popular. React-specific flags for React-specific functionality is fine.

@jarredsumner So, on what day will the next Bun be officially released?

@jarredsumner In the next version of Bun I tend to use Node again.

@jarredsumner Sounded like a joke but we might actually have GTA 6 before the blog post

@jarredsumner @timneutkens can i use this in next.js?

@jarredsumner What are these numbers at this point man, I swear to God, every time there's another "In the next version of Bun" post you guys do something insane. Great work guys!!!

@jarredsumner oh finally

@jarredsumner please also improve exisiting features and fix issues

@jarredsumner i dare you to rewrite bun to jai zig -> rust -> jai

@jarredsumner How about integrating rust flow type into Bun?