4 ms·
The startup speed for this app is really good. From my quick testing it seems like it is as fast or slightly faster than npp. I am surprised that QT can be that
by fngjdflmdflg 3y ago
The startup speed for this app is really good. From my quick testing it seems like it is as fast or slightly faster than npp. I am surprised that QT can be that fast. I recall this line from the Sumatra PDF developer on why he chose win32 only:
>The only way for one person to even attempt cross-platform app is to use a UI abstraction layer like Qt, WxWidgets or Gtk.
>The problem is that Gtk is ugly, Qt is extremely bloated and WxWidgets barely works.[0]
To be fair, a PDF reader and a notepad editor are two different things, and startup speed is only one metric which is the only one I tested. But I always assumed npp was also using win32 APIs only for similar reasons. (I don't actualy know what GUI toolkit npp uses.) And "bloated" could perhaps mean a lot of things. Perhaps QT takes more memory or something. But I always assumed npp's unbeatable speed was due to native APIs.
[0] https://blog.kowalczyk.info/article/2f72237a4230410a888acbfce3dc0864/lessons-learned-from-15-years-of-sumatrapdf-an-open-source-windows-app.html https://blog.kowalczyk.info/article/2f72237a4230410a888acbfc...
- xcv123 3y agoPerformance is not an issue with Qt. He probably means the framework is too large and complicated from a developer perspective. The compiled code is fast.
- umpalumpaaa 3y agoCame here to say the same thing. Qt is a C++ library and is widely used (for example in KDE) and is also used in embedded environments a lot. And its pretty mature.
- pavon 3y agoI think Krzysztof's objection was mainly about size (memory/disk). He set pretty high standards for SumatraPDF in that regard. The full statically linked executable is only 8MB, while the Qt Core and UI libraries by themselves are larger than that, and that is before you start talking about dependencies like the 20MB ICU data.
- chrystalkey 3y agoSumatra is such an awesome piece of software, small, fast, almost entirely bug-free, incredible load speeds for large pdfs... my Linux alternative is Evince, which does about the same
- zozbot234 3y agoGTK+ 3 and 4 are quite visually ugly, but you can get Windows classic-styled themes for both (from Chicago95 and B00merang project respectively) that will make them far more usable.