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

Why is this written in React? I understand Rust doesn't have any GUI frameworks (like Qt), but is this the way, then? Is it an adversity to learning something new?

You can reasonably write a C++ app or with Qt and write your GUI stuff in QML, and even plug in Lua, Python, or JavaScript as a scripting language. Yes, thats work.

Using a browser to render is just an easier version of using a GPU API like OpenGL to build your GUI. Your OS comes with gui stuff, use it.

Other than that, cool enough, though something like pcmanfm support adding remote locations as well...?

Another question, why Prisma?



> I understand Rust doesn't have any GUI frameworks (like Qt), but is this the way, then?

Yes. If you want to build a cross-platform desktop app with Rust, Tauri + React would also be me recommendation right now.

Tauri makes it quite easy to drop down to Rust if you need to (for high-performance operations and everything interfacing with the OS), and it also comes with pre-built packaging for the main different platforms. With React you are able to leverage a great ecosystem that has existing UI components for many things (unlike most native Rust GUI frameworks). It also allows you to reuse you frontend engineers and all their expertise when it comes to web technologies (and working with designers).


Thats a great overview, thanks. That actually does answer most of my question.


> Rust doesn't have any GUI frameworks (like Qt)

And Slint? And egui? And the Qt bindings crates?

You can say that they aren't as mature as Qt, but they are often good enough compared to something that runs in a browser.


> but they are often good enough compared to something that runs in a browser

You can't make an app that looks even half as good as Spacedrive using QT, egui etc.


I don't see why not. For example Rust and Qt: https://gyroflow.xyz/


This is an incredible piece of software. Thank you for sharing it!


That really doesn't look half as good as Spacedrive or any other one of the hundreds of browser based UIs we see thrown around. Just ok.


I've years of experience with frontend dev, maintain Rust bindings for AppKit on macOS, and have built things in Slint.

Slint is 100% capable of matching this, lol


Try to do something with the qt rust binding please


Do any of those natively support mobile?


The embedded browser approach doesn't really support anything natively (apart from webos maybe?), so I'm not sure that's the right question.


True, but it's still less indirection than compiling to web and then embedding a browser, which is how the linked frameworks seem to approach the situation.




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

Search: