News for hackers. Stuff that matters.
Re:File Pilot: A file explorer built for speed with a modern... by stavros on Wednesday February 19, 2025 @02:52AM (#43099723)
What GUI framework did they use for this?
Re:File Pilot: A file explorer built for speed with a modern... by qingcharles on Wednesday February 19, 2025 @02:55AM (#43099739)
This is all I found:

"It's written in C and has custom OpenGL renderer."

https://filepilot.handmade.network/

Re:File Pilot: A file explorer built for speed with a modern... by sachahjkl on Wednesday February 19, 2025 @03:29AM (#43099905)
Made it himself
Re:File Pilot: A file explorer built for speed with a modern... by pjc50 on Wednesday February 19, 2025 @05:42AM (#43100693)
It looks like WPF but isn't. Sibling comment suggests sui generis, which explains the tiny size and lack of dependencies. This does make it blindingly fast but makes the keymappings different from what you'd normally expect. Haven't tested annoying cases e.g. two monitors with different DPI.

edit: report of poor CJK support https://news.ycombinator.com/item?id=43100494 ; Windows file system encoding is annoying because it's UTF-16.

Re:File Pilot: A file explorer built for speed with a modern... by regularfry on Wednesday February 19, 2025 @09:12AM (#43102353)
This is always, always the tradeoff with custom UIs. The edge cases eat you alive.
Re:File Pilot: A file explorer built for speed with a modern... by whartung on Wednesday February 19, 2025 @11:12AM (#43103706)
I'm sorry, as I don't know.

I mean, I don't even know what you use to write "windows" applications anymore.

But are the stock frameworks that slow to justify rewriting the toolkit? I am under the impression that writing GUI toolkits was Hard.

Are there plans to make this cross platform?

Re:File Pilot: A file explorer built for speed with a modern... by vjekoslav on Wednesday February 19, 2025 @05:55AM (#43100774)
It was written from scratch with a custom OpenGL renderer (a DirectX port is in progress for Windows) and a custom IMGUI layer on top.
Re:File Pilot: A file explorer built for speed with a modern... by zerr on Wednesday February 19, 2025 @10:48AM (#43103365)
You mean all those complex UI stuff code is written in immediate GUI? How maintainable/readable is the resulting code?
Re:File Pilot: A file explorer built for speed with a modern... by vjekoslav on Wednesday February 19, 2025 @11:55AM (#43104324)
Way more maintainable than anything from MS that I'd have to deal with.
Re:File Pilot: A file explorer built for speed with a modern... by zerr on Thursday February 20, 2025 @09:17AM (#43114909)
How about the CPU usage? Running a main loop at 60hz for a file manager sounds bit overkill.

Agree about the MS offerings. That's why I use cross-platform frameworks (wx, qt) even for the Win-only apps.

Re:File Pilot: A file explorer built for speed with a modern... by GuestHNUser on Thursday February 20, 2025 @04:00PM (#43120135)
Give the demo a try. I compared the CPU usage to the win10 file explorer, and they look identical (both are minuscule); it's super impressive.
Re:File Pilot: A file explorer built for speed with a modern... by qingcharles on Friday February 21, 2025 @09:12PM (#43135403)
How is the support for CJK and insane Unicode like emoji surrogates? Dealing with some of those edge cases can break a man.