by pornel · 6y ago · 0 comments
I've developed a Gtk GUI in Rust recently. It wasn't bad, but I probably won't use it ever again. When I'm debugging a UI, I want to right-click it, select Inspect, and be able to tweak everything live.
DevTools is such a force multiplier, that I'm confident I can quickly and reliably develop a whole GUI from scratch, with custom layout animations and bells and whistles using JS+CSS. I have zero confidence in doing anything in Gtk or Cocoa beyond dumping static pre-built controls in a window. The cycle of editing blindly, recompiling, and re-running is the old paradigm that I don't want to return to.
For example, in vscode we do almost everything in TS, but shell out to ripgrep for workspace text search.
Which is quite disappointing, given ripgrep's reputation in search performance.
GTK_DEBUG=interactive your-app
[0] https://wiki.gnome.org/Projects/GTK/Inspector