Windows File Manager re-released
github.com
github.com
https://github.com/microsoft/winfile/blob/master/src/winfile...
int
some_func(void) {
int result = ERR;
HANDLE foo = alloc_foo();
if (!foo) goto err0;
HANDLE bar = alloc_bar();
if (!bar) goto err1;
if (do_something_else() < 0) goto err2;
result = OK;
err2:
release_bar(bar);
err1
release_foo(foo);
err0:
return result;
}Nobody has code like this anymore
10 I=1
20 PRINT "HELLO "
40 PRINT %I
50 IF (%I > 3) 10 40
30 PRINTLN "WORLD"
45 PRINTLN
42 I=%I+1
Notice no goto statement, yet lots of implicit gotos.Surely there could be a GUI framework that'll handle these Win32 Messages and dispatch them to your callbacks in your `Application` object but your application could be dealing with all sorts of messages not covered by your framework like WM_SYSCOMMAND, WM_POWERBROADCAST, WM_DEVICECHANGE, etc. and you'll find yourself with this classic Win32 Message Queue handling switch even in modern C/C++ Win32 GUI codebases.
Whenever you are interfacing with the Win32 API directly to set up and run a GUI application, this pattern will emerge: https://gist.github.com/nathan-osman/18c2e227ad00a223b61c0b3...
Voidtools Everything is going to remain my Windows search tool for now.
Yes, that's what I said I use.
Can we go back to this in get rid of all this "modern" multi threaded, hardware accelerated crap?
Hardware acceleration is usually good.
I'm not sure why you think modern software is slow, but it is definitely not those two things, unless they are implemented EXTREMELY naively, which is far, far less common than one would think.
I think modern software is slow because it's slow (despite having vastly more powerful computers), those 2 things along with the language apps written in are the major technical differences between old software and modern software. If theory doesn't match reality then the theory must be wrong.
This app starts is more responsive than my windows start menu.
I GUARANTEE you that any lack of multi-threading or hardware acceleration is not the cause for the speed, but rather the simplicity of the application. It's as complex as it needs to be to perform its job, and not more.
Today's unfortunate software development practices stack layer upon layer of abstraction on top of the CPU; far more than was the case when this application was written. As such, more modern applications are bogged down with the weight of all of this stuff.
Developers today have forgotten that "mo' code means mo' problems" and are quite happy to reference any stupid library they come across in order to make things feel simpler. What they've actually done is make things far more complex, and complexity is the undying, always victorious, enemy of performance.
I don't like that modern applications are slow, either. They aren't slow because of multi-threading and hardware acceleration, I promise. They're slow because of piles of stupid decisions on how software should be built.
Back in the day, we had built-from-scratch programs that could only do exactly what they were intended to do on a specific platform, instead of doing things like shipping a gamepad driver with your all your text apps[0].
[0] https://josephg.com/blog/electron-is-flash-for-the-desktop/
Did Microsoft accidentally admit that MS notepad is worthless?
Third parties may have your back.
I'd argue such a file manager is meant for people who prefer and are used to Vim shortcuts. I just tried Ranger. Got image preview and Solarized theme working, but it does hang on previews it seems.
For a GUI one, I can recommend fman (fman.io) as it uses the Sublime paradigm (shortcuts plus a command palette). It isn't FOSS though.
Unfortunately you'd get something that looks much more like a Mac app but maybe that would be a good thing.
Well, that pretty much describes Wine, and it does work in Wine on macOS. (I know, that's kind of boring, though...)
No special folders, so you always know exactly where you are on disk.
Actual buttons, instead of the flat theme.
If you open the folder 1 second after the file access time is updated, it's instantaneous, as before.
There's good and bad here. NTFS is a HELL of a lot better at handling stupid amounts of files in a folder like this than it used to be. But maybe it could handle a single file attribute change without losing its kind for 30 minutes.