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

I think the jury is still out on whether rust is good or bad for UI. Once rust UI libraries are more mature we'll get a sense of it. There are some advantages of static typing, even for UI (see SwiftUI for example). I'll grant the pickiness of rust can be a challenge. Anyway give us some time to work on stuff.

Here's my effort: https://github.com/audulus/rui



SwiftUI looks nice and definitely is the right direction for a compiled UI language. But in practice is terribly hard to work with compared to most web frameworks. Terribly slow recompile, no HMR, miles worse dev tooling, no way to dynamically inspect and change things on the fly.

On the web I have my app fully running on one side, and my code on the other. I make a change, it shows. Even if it’s inside a deeply nested pane, with some stateful stuff going on. And if things go wrong, I open the console and I inspect everything, change things, run some code, and fix it.

I actually tried SwiftUI on my last app I was making for months before I gave up. It felt like going back to the stone ages.

And that’s Apple putting their full effort behind something with decades of UI stuff already in place!

Not to mention my files kept getting too big for the Swift syntax checker all the time, but I’m sure they can fix that.




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

Search: