3 ms·
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
by bryanlarsen 4y ago
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.
- deleted 4y ago[deleted]
- mritchie712 4y agohave you built anything with it? We're using Tauri, but Dioxus looks very interesting.
- bryanlarsen 4y agoI have, but nothing used by more than 3 people.
- anon23anon 4y agoDoes Dioxus run in a webview on mobile? That's how I'm reading the docs.
- bryanlarsen 4y agoIn 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.
- terhechte 4y agoI recently build this side project with Dioxus: https://terhechte.github.io/twitvault/ https://terhechte.github.io/twitvault/ Here's a review of the experience of using it: https://www.reddit.com/r/rust/comments/zegv2e/comment/izb6nl7/?utm_source=reddit&utm_medium=web2x&context=3 https://www.reddit.com/r/rust/comments/zegv2e/comment/izb6nl...
- ianpurton 4y agoCan 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?
- terhechte 4y agoIncremental 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.
- ianpurton 4y agoThanks. I'll give it a try.
- FullyFunctional 4y agoIt'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.
- ink404 4y agokotlin is a decent choice as well
- bryanlarsen 4y agoTrue. 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.