Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>User interfaces that run anywhere. Written in Rust, inspired by React

Wow! I was wondering if this exists TODAY. Even did a quick search but couldn’t find anything. Wild.

Edit: oh, doesn’t seem like it uses native UI



It doesn't... yet. But that is being worked upon. Native renderer is here: https://github.com/DioxusLabs/blitz


I think this could really be the selling point, high performance native & web UIs. Nothing like it exists.

I imagined something like React & React Native, except implemented in a performant compiled language and runs anywhere using WASM.

But now that I think about it, maybe React/RN will be able to switch the core to WASM and keep the user code in JS, maybe this will be good enough for performance while still being more developer friendly.


Isn't that Flutter?


Flutter is quite terrible on the web. I don’t think they use WASM either, I think Dart just gets compiled to JS.


Yeah it's not too great on the web but they are working on WASM as well: https://news.ycombinator.com/item?id=33908134#33910235


> One project that extends Blitz is SciViz: a high-performance plotting toolkit for Rust and Python.

Is SciViz available somewhere yet?


Seems to be at https://lib.rs/crates/sciviz, but a very early version? The Docs link goes to another project.


> Edit: oh, doesn’t seem like it uses native UI

(note I'm not talking about you specifically here)

There are many solutions out there that "run everywhere" (that matters) and it's always some variation of this compromise.

I get the obsession of having things run natively, but at some point you have to ask yourself if it's really that important.

This reminds me of people who want a game, but spend most if not all of their time trying to find the perfect game engine or even trying to make their own engine. I get it, it's fun. But it can potentially be mentally exhausting if you want an end product and a perfect prebuilt framework.

Personally I just enjoy building frameworks and tooling and find happiness just doing that. If I were to make a product I'd be using something that works well enough and try to leave my obsession with finding/building the perfect framework out of it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: