logoalt Hacker News

Rari – Rust-powered React framework

56 pointsby bvanvugttoday at 7:15 PM33 commentsview on HN

Comments

uriahlighttoday at 9:39 PM

It's like beating a dead horse. React is the literal worst of all the modern JavaScript frameworks and yet that's what everybody insists on using. Vue is light years ahead of it (and will be even further ahead when the new Vapor mode is released in 3.6). Svelte is ahead. Solid is ahead. Heck, even Marko is ahead.

show 6 replies
mpegtoday at 8:03 PM

ok so I actually like this, but the description and documentation in general are terrible

"rust-powered" meaning it uses rolldown to bundle the javascript, that's fine, but it's a weird thing to highlight, it's confusing for people that aren't super familiar with vite and might think this is a rust framework

from the docs "one of rari's superpowers is seamless NPM package integration" this makes me think the docs are LLM-written... npm package integration, like every other javascript library.

now, the good: there's very few simple frameworks for react (react router and tanstack) and I think the simplicity here on going from an empty project to RSCs is absolutely great, and should be the tagline

I was also happily surprised at how mature the codebase is in comparison to the docs, the vite plugin actually supports a lot of the options I would have expected to see, they're just not documented yet

edit: I realised after digging a bit deeper this actually does have a rust runtime that runs the js, that was not very clear... is this separate from the framework or does the framework only run in the rust runtime? eg can it run on node?

show 2 replies
dev_l1x_betoday at 7:49 PM

> React Server Components framework powered by a Rust runtime.

If anybody is wondering.

show 1 reply
satvikpendemtoday at 7:54 PM

Is this like ReasonML and its React-Reason framework?

I don't really understand how it works, what part is Rust powered, is it reimplementing the JS engine in Rust?

show 2 replies
sebringjtoday at 9:05 PM

this looks neat and reminds me of "Ferrari" for fast and combines "react" so it's a great name. Was there a specific use case for this that inspired you? I would imagine some massive existing heavy thing that you plugged in to fix to save it? I just put my open source thing out so it's nice to see some traction on yours, rooting for you.

show 1 reply
skinikstoday at 7:34 PM

Author here! Should be all good now, turns out the rate limiter was a bit overzealous

show 1 reply
dbacartoday at 8:08 PM

"Rust-Powered Performance

Native speed with Rust compilation for blazing-fast builds and runtime"

It seems only Rust itself compiles slow while helping others brag about it :).

show 2 replies
rtcode_iotoday at 8:52 PM

Two cancers combined!

choiwaytoday at 9:05 PM

Naming so lit

mattrighettitoday at 7:30 PM

Website has been hugged

show 1 reply
xlmnxptoday at 7:29 PM

Get started but not working

samrithtoday at 7:44 PM

[dead]