Earlier quoted context omitted.
I'm not a frontend developer, but seems fast to me. I'm surprised that the UI portion of this example takes so little CPU: https://youtu.be/7k0JNT6itaI Now, the rest of the DSP code sure is faster in native. What are examples where web UI is too slow for you? Or do you mean large apps written in JS, which is a different topic?
Slow means many: * long program launch times * inconsistent frame rates during runtime * noticeable lag in user interaction
The state of building user interfaces in Rust
151–156 of 156 posts
Re: The state of building user interfaces in Rust
#152Earlier quoted context omitted.
Slow means many: * long program launch times * inconsistent frame rates during runtime * noticeable lag in user interaction
That's neither examples nor a clarification if you're talking about JS or WASM.
Re: The state of building user interfaces in Rust
#153Throwing in my vote... I've been doing everything with wasm-bindgen/web-sys, i.e. just doing my UIs in html, and for 99% that's what I'd want anyways. Web UIs are portable, remotely accessible, and don't require installation on each client. For the small percent that's left where speed is critical, I've just been using wgpu and wgsl-bindgen directly. I can't think of what I'd want a native UI solution for. And then h…
> I can't think of what I'd want a native UI solution for. And then having to deal with porting it to iOS, Android, Windows, Mac etc, dealing with app stores (3+?) submissions, developer fees, rejections Not everything is yet another shitty b2c "app". There are whole industries where cross-platform support is irrelevant, as paying customers just keep using Windows.
Re: The state of building user interfaces in Rust
#154i've recently built a very complex healthcare application in dioxus and it's been a tremendous joy to work with. right now it's web-only, but the app does run fine as a desktop app when we need it. having SSR built in means that the UX is amazing - really complex pages load basically instantly, and it degrades just as easily for folks that haven't loaded the WASM. server functions were also fantastic to work with and…
What components were lacking? Is what you've built accessible somewhere?
Re: The state of building user interfaces in Rust
#155i've recently built a very complex healthcare application in dioxus and it's been a tremendous joy to work with. right now it's web-only, but the app does run fine as a desktop app when we need it. having SSR built in means that the UX is amazing - really complex pages load basically instantly, and it degrades just as easily for folks that haven't loaded the WASM. server functions were also fantastic to work with and…
I would love to see this @octernion. Im very interested in health care apps.
Re: The state of building user interfaces in Rust
#156i've recently built a very complex healthcare application in dioxus and it's been a tremendous joy to work with. right now it's web-only, but the app does run fine as a desktop app when we need it. having SSR built in means that the UX is amazing - really complex pages load basically instantly, and it degrades just as easily for folks that haven't loaded the WASM. server functions were also fantastic to work with and…
Does it allow you to do things like: take this font at 20px, outline it with a stroke of 2px, turn that stroke into a path, then use that path as a clipping mask, then render this image using that mask.