Hacker News new | ask | show | jobs
by sporedro 1097 days ago
I can’t answer from rust perspective, but just my opinion. GUI frameworks in general seem like an atrocity, you have QT and that seems like it besides proper native development and targeting 1 platform.

Java still seems like the only language with cross platform GUI and swing/awt are on the way out with javaFX being “abandoned”? (Probably not the right term but it never was made main stream). You got to Python, etc and it’s an absolute mess. C/c++ have a few but cross platform still seems tough.

Don’t even get me started on the mess of electron.

2 comments

What's interesting to me is that there are a handful of languages that include gui frameworks: tcl with tk, erlang binds wxwidgets, and racket has its own thing built on gtk.

It's curious what these languages have in common too: as languages almost nothing. But they're all venerable, proven & respected in their domains if not beloved, and relatively unpopular.

I don't know how to interpret that. Maybe it's just a coincidence. Or stdlib gui frameworks are just out of style and it's survivorship from the old ones. But then python is from around the same time, why doesn't it?

tkinter is the Python one!
Ruby has a Tk-based one too, but I don't remember the name, since I used it only a little, years ago, though I did some non-GUI Ruby and Rails web work.
No, I think it had a bundled one like Python's Tkinter, which was a wrapper over Tcl's Tk.

Edit: this is it, Ruby Tk.

https://ruby-doc.com/docs/ProgrammingRuby/html/ext_tk.html

You haven’t heard of Flutter?
Exactly... looks like most people don't know that Flutter uses Skia... and it's a real multi-platform framework (Windows, MacOS, Linux, Android, iOS, even Web), whether you like it or not.