Open yatima1460 opened 4 years ago
Since you are asking for suggestions and ideas, allow me to make the following suggestion: Do you know https://github.com/sharkdp/fd ? It is very fast at finding files (much faster than "find"), although it also does not use an index. And it has already Regex. But so far there is no GUI for fd.
Here comes my idea: Maybe you just use fd as a basis for Drill and add a user-friendly GUI and many useful GUI supported features to fd. What do you think?
Drill has always been a prototype, first it was written in Python, then in D, and a lot of cool ideas are still not implemented, like A* to search files or entropy of file names or better AppImage integration ( @probonopd )
I'm considering to rewrite it in C, C++ or other ideas are plausible too like Go or Rust
If you have any ideas let me know here and write pros and cons
C is good because like it's universal and will work everywhere, the problem is that working with strings and data structures will be very messy, C++ instead is not a common denominator everywhere but at least working with strings will be super nice and Drill makes heavy use of them
Go seems interesting also because of the people behind it (one of them being the original C devs) and being minimal and Rust is getting a push even from Microsoft and can prevent memory bugs