3 ms·
Probably a lost cause at this point since most GUI toolsets are too object-oriented to comfortably wrap and call with Rust. Do a web view with Tauri instead.
by debug-desperado 4y ago
Probably a lost cause at this point since most GUI toolsets are too object-oriented to comfortably wrap and call with Rust. Do a web view with Tauri instead.
- lenkite 4y agoHoping Tauri supports mobile at some point. Maybe it needs to wait till the EU bureaucrats force open Apple's walled garden.
- pjmlp 4y agoOr chose a better tool for the job, picking languages based on platforms, not picking an hammer and then trying to find a nail that fits.
- pornel 4y agoGUIs don't exist by themselves, but serve a program. Rust may still be the best language for the non-GUI part of the program. I've once picked ObjC for a whole program based on its native GUI, and spent way too much time chasing bugs caused by its thread-unsafety (Cocoa bindings are a trap in multi-threaded programs).
- pkolaczk 4y agoI haven't found any problems using GTK bindings in Rust. It is actually easier and nicer than in C, especially with additional support like relm4 (but even the manual approach is good enough). Who said GUI must be OOP?
- pjmlp 4y agoThe Gtk+ library you depend on.