logoalt Hacker News

skiniksyesterday at 8:03 PM2 repliesview on HN

Not like ReasonML, you still write normal React/TypeScript.

The Rust part is the server runtime. Instead of Node.js running your React Server Components, rari uses a Rust server with an embedded V8 engine. Same React code, different server underneath.

You write React → Rust server executes it → better performance than Node-based alternatives.


Replies

mpegyesterday at 8:15 PM

wait so it actually has a rust runtime? that's not documented in the site so I had assumed the rust part was simply rolldown

it would be interesting to see a performance comparison to node and bun

show 1 reply
laurenceroweyesterday at 8:11 PM

How is this different than running that same React code in deno whose HTTP server is also written in Rust?

show 1 reply