Live data from Hacker News

Rari – Rust-powered React framework

rari.build

81–90 of 97 posts

Re: Rari – Rust-powered React framework

#82
post #51

If anyone’s exploring Rust + React, I’ve been building something similar on the rendering side. react-vello [1] exposes Vello (a Rust GPU renderer) as a React renderer via WASM + WebGPU, so you can draw shapes and text declaratively while Rust handles the rendering in the browser. [1] https://github.com/mblode/react-vello

demo does not works on firefox+linux

Re: Rari – Rust-powered React framework

#83

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.

I hate React, but Vue never seemed much better. What is better about it, in your opinion?

no weird rules of hook. automatic dependency tracking. no stale closure gotchas, no running hook 1000 times cause you made a mistake.

Better update performance by default.

definitely better dev tools

Re: Rari – Rust-powered React framework

#86
post #30
post #24

Earlier quoted context omitted.

V8 is C++, so why isn't it "C++ powered"?

Technically you could say that, but the entire server runtime is written in Rust. V8 is just the embedded JavaScript engine. By that logic, every Node.js or Deno app would be "C++ powered" since they all use V8.

How big is the server runtime compared to v8 under the hood?

Yes, every one of those apps is c++ powered.

Re: Rari – Rust-powered React framework

#87

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.

I care about what SaaS SDKs support out of the box, I don't have time to yak shaving or do avocacy to our FE teams.

That means it is mostly React/Next.js and in some cases, Angular.

Anything else will get side looks on why are we not using the official SDKs from partners.

Re: Rari – Rust-powered React framework

#88

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.

I am a react developer. For past few months I am working in vue and I Just dont see any benefits

Vue should be a bit faster due to signals (updating state doesn't cause whole components to rerender), or at least require a bit less work to optimize (not as much need for useMemo, useEffect, etc. if everything uses signals). Other than that, it's mostly up to personal preference. SFC, directives, etc. are all just developer ergonomics, and people tend to prefer whatever they're most used to.

Also, vue interops better with webcomponents and non-framework code than React in my experience. Most non-React libraries need a React wrapper to work in a React project.

Re: Rari – Rust-powered React framework

#90
post #82
post #51

If anyone’s exploring Rust + React, I’ve been building something similar on the rendering side. react-vello [1] exposes Vello (a Rust GPU renderer) as a React renderer via WASM + WebGPU, so you can draw shapes and text declaratively while Rust handles the rendering in the browser. [1] https://github.com/mblode/react-vello

demo does not works on firefox+linux

Is there a way to enable WebGPU flag on Firefox Linux?
Post reply on HN