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

Shout out to Dioxus. It's a react clone that provides a really nice experience and can run a web GUI faster than React can. That's quite the accomplishment given the disadvantage of having to use shims to access the DOM.

If you want to choose a single language that can create native GUI's, Rust is probably your best or only choice. Other languages are lacking a good story for either the web or for iOS but Rust works well on both.



have you built anything with it? We're using Tauri, but Dioxus looks very interesting.


I recently build this side project with Dioxus:

https://terhechte.github.io/twitvault/

Here's a review of the experience of using it:

https://www.reddit.com/r/rust/comments/zegv2e/comment/izb6nl...


Can you let me know about incremental compile times?

Basically with the HTML frameworks that use macros I'm getting incremental builds 10 seconds or more. Did you experience the same?


Incremental compile times were quite fast, I'd say in the 1-2 seconds. I also have another project where I'm using Dioxus-web for a web application. When building a web app, it also has hot code reloading and I'd say reloads take under a second (though I just started this app so it only has a couple hundred lines of code).

I have an M1 Pro Max though, which is quite a fast machine.


Thanks. I'll give it a try.


It's beautiful!

OT: it seemed like an awesome application so I ran it but a few seconds into importing I got

"Rate limit for Tweet Replies reached. Waiting 18446744072038294844 seconds"

I'm not going to live nearly long enough for that!

ADD: and there's no cancel button or anyway way to stop it.


Does Dioxus run in a webview on mobile? That's how I'm reading the docs.


In theory it doesn't have to. In practice, yes.

My comment said that rust had a great cross-platform story, not Dioxus. If I was doing cross-platform rust I'd use cacao for iOS, Dioxus for web front end, et cetera.


I have, but nothing used by more than 3 people.


kotlin is a decent choice as well


True. I forgot about the family of languages that will transpile to Javascript. That gives most of them a good web front end story, and of course Kotlin has a good iOS story.




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

Search: