GPUI File Browser banner

GPUI File Browser

2 devlogs
1h 32m 8s

A file browser hopefully better (especially faster!) than the default file explorer on windows, especially in terms of copy/delete, productivity and indexing. Made with the GPUI library, a gpu-accelerated application framework, prominently used by…

A file browser hopefully better (especially faster!) than the default file explorer on windows, especially in terms of copy/delete, productivity and indexing. Made with the GPUI library, a gpu-accelerated application framework, prominently used by the Zed editor.

Repository

Loading README...

HQ2000

I did two things:

  1. I made a function for getting the window config (WindowOptions) for creating the window
  2. I was annoyed by the long compile time (9s, for every small change) so I made a dummy crate gpui_dylib that just re-exports gpui but is with crate_type=“dylib” (dynamic library, .dll on windows, .so on linux) so the the linker does not statically link gpui into the final program, but rather “against” it. compile time is now 5s, which still makes me wonder, but it’s atleast better because especially when making visual changes this is still an improvement. (credits to bevy, they do the same, that’s where I have this trick from)
Attachment
1

Comments

HQ2000
HQ2000 11 days ago

btw, I do plan to make a custom top bar later

HQ2000

thanks to the gpui examples I managed to pretty quickly setup a very basic app, just displaying a white window with a title

Attachment
0