TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Lessons learned from 15 years of SumatraPDF, an open source Windows app

350 pointsby archimag0almost 4 years ago

35 comments

approxim8ionalmost 4 years ago
Sumatra, alongside maybe Everything and IrfanView, is my favorite piece of software on windows. Incredible speed, great customizability and awesome compatibility.<p>I really missed it when I made the switch to Linux, but not enough to consider installing WINE. Still, absolutely wonderful project deserving of the highest praise.
评论 #27974745 未加载
评论 #27973397 未加载
评论 #27972126 未加载
评论 #27973243 未加载
评论 #27976955 未加载
评论 #27975572 未加载
评论 #27972925 未加载
评论 #27977862 未加载
评论 #27981229 未加载
评论 #27972789 未加载
zamadatixalmost 4 years ago
It&#x27;s amazing to see the drive of &quot;I know what I want to make and I do it the way I want&quot; carry the project for so long. More than any development ideology just having the passion to continue working on whatever it is you&#x27;re doing is an extremely powerful force for creating useful software. And SumatraPDF is definitely useful software, has been for a long time.<p>&quot;ideology doesn&#x27;t matter as much as doing&quot; being said the syntax valid semantic invalid error at the end of this excerpt in the section on extensive tests being overrated gave me a chuckle:<p>&gt; Dogma is powerful. Sometimes in my corporate life I felt like writing tests was just going through motion. Maybe we should spend more time writing code instead, I though?<p>In all seriousness I agree though. In a project where you write the majority of the code it is possible to overdo tests in a way that you are wasting more time than you&#x27;re saving yourself and in a passion project efficiency isn&#x27;t always as important as interest anyways.
optionistalmost 4 years ago
I registered a HN account just to comment on this. Thank you so much for writing this small yet powerful software. I used it in grad school when I needed to write paper with latex and compile it with pdflatex. 2 features are killers: 1. auto reload the newly generated pdf. 2. double click on pdf and it jumps to the corresponding place in the tex file. It was such an productivity booster. Thank you!
SamuelAdamsalmost 4 years ago
This app has gotten me through so many days of undergrad. It&#x27;s one of the only windows apps that can handle textbook-sized pdfs well. I can search on text quickly too, while Adobe Reader can barely open any PDF larger than 100 pages.
Loranubialmost 4 years ago
I have been using SumatraPDF on Windows for a long time. After opening a PDF file with it for the first time, I never went back to Adobe Reader. SumatraPDF is much faster, cleaner and less memory hungry.
评论 #27972140 未加载
评论 #27971333 未加载
评论 #27970285 未加载
评论 #27969834 未加载
评论 #27973558 未加载
评论 #27970287 未加载
评论 #27971776 未加载
ufmacealmost 4 years ago
Upvoted for a number of interesting and unconventional opinions.<p>Rolling your own JSON, XML, etc parsers raises some eyebrows. I guess it&#x27;s sort of okay if you expect to only be reading your local config files versus arbitrary web content. Maybe then it&#x27;s okay to trade off raw speed for not handing a ton of formatting and syntax edge cases.<p>Writing GUI apps against the native framework. Yup, it&#x27;ll be a major pain to ever port to another platform. But if you don&#x27;t care to do that, nothing&#x27;s as fast and clean both to develop and for the end-user to use as every platform&#x27;s native framework.<p>Unit tests are sometimes overrated. IMO, they&#x27;re much more suited to building apps in dynamic languages. Unit tests are a lot less important if you have a good type system and compiler checking things already. I&#x27;ve heard it described before that half of the benefit of unit testing in these languages is forcing yourself to structure code in testable modules with clean interfaces. But if you can just do that anyways, the actual tests are less important.
评论 #27978349 未加载
评论 #27983688 未加载
criddellalmost 4 years ago
&gt; The future of all software is as a web app. Why not bring the spirit of SumatraPDF to the web?<p>That feels like a 180 after reading a couple thousand words extolling the virtues of small, fast code with minimal dependencies.
评论 #27974690 未加载
评论 #27974357 未加载
TonyTrappalmost 4 years ago
SumatraPDF is my absolutely favourite PDF reader, but I wish the author took security more seriously. At least for a long while there were no official releases for months, if not years, with known crashes in muPDF (for which I think known exploits and patches existed), but since SumatraPDF used a custom muPDF version, it required manual patching. Maybe things are better these days (I see updates are more frequent again), but with PDFs being a big attack vectors these days, it leaves a bit of a sour aftertaste.
mcguirealmost 4 years ago
Here is a lesson you don&#x27;t often see, but has worked every time I&#x27;ve used it:<p>&quot;<i>I was able to incrementally convert program form using Poppler API to using Poppler via engine abstraction to using mupdf via Engine abstraction.</i>&quot;<p>Make major changes incrementally.
tantoalmost 4 years ago
When I open PDFs I often want to edit the filename to adjust it to the content. SumatraPDF is awesome and opposed to Adobe Reader and other PDF readers it does not take an exclusive lock on the PDF file so you can edit its filename. The fact that it is extremely fast is another big benefit.
评论 #27970016 未加载
Machaalmost 4 years ago
Sumatra is pretty nice, and definitely an app I miss on Linux. I used to use evince, but it had more compatibility issues (it uses the Poppler library that Sumatra dropped) and I wasn&#x27;t a fan of the UI redesigns for Gnome 3.<p>These days I actually use Firefox as my Linux PDF reader.
jenkstomalmost 4 years ago
So is that Kowalczyk&#x27;s Law of Software Design? &quot;Small or fast, pick both.&quot;
supz_kalmost 4 years ago
One of the pains of moving from windows to a Mac was not having Sumatra. I&#x27;ve been using it on Windows for so long. I have tried many options on Mac, but they just doesn&#x27;t feel &quot;right&quot; (too many options in viewers like Acrobat, too less features compared to Sumatra in others). Any plans to create a mac version?
评论 #27973000 未加载
评论 #27978628 未加载
评论 #27975955 未加载
michaelhoffmanalmost 4 years ago
I love SumatraPDF. I use Acrobat Reader for most stuff, but while working on TeX documents SumatraPDF is invaluable because it:<p>- is fast AF<p>- supports SyncTeX<p>- doesn&#x27;t unnecessarily lock the files it has open
评论 #27973749 未加载
whoknowswhat11almost 4 years ago
Sumatra 7mb Adobe Acrobat DC 2.4gb
评论 #27972861 未加载
评论 #27972730 未加载
BugWatchalmost 4 years ago
From what I can see, he&#x27;s a great team player.
rajandattaalmost 4 years ago
Just want to come to give props to Sumatra PDF. Lovely product - lightweight, fast, portable. Mau not have every feature (not saying it does or doesn&#x27;t - does what I need) but does a lot really well. Highly recommended.
willis936almost 4 years ago
I just downloaded it and I&#x27;m quite impressed with the ease of use of the color options. Just a few lines in a text file. I can swap between dark and light modes easily.<p>Does anyone know if the window background can be darkened at all? The window UI text color is controlled by the same setting as the pdf text color, so when using a dark background&#x2F;light text mode the window UI text is very low contrast.
评论 #27974649 未加载
评论 #27973705 未加载
majkinetoralmost 4 years ago
So far I used colibre&#x27;s e-book viewer but after this blog post I am hooked :)<p>I like people that know to say NO and produce obviously good thing on their own.
edwinyzhalmost 4 years ago
I LOVE SumatraPDF because is very fast! In the past I&#x27;ve used Adobe (so sluggish), Foxit reader (was fast).
GeekyBearalmost 4 years ago
I used Sumatra on a very old Windows laptop a decade ago, and became a fan because it was so lightweight that it rendered documents quickly, even on outdated hardware.
navanealmost 4 years ago
Does anyone know why it&#x27;s never possible to just transfer money, but they ask for patreon or paypal? I live in the EU and as far as I know its super cheap to send money into a bank account. At least cheaper than what I suppose is patreon&#x27;s cut.
评论 #27972099 未加载
评论 #27972345 未加载
评论 #27973458 未加载
评论 #27973138 未加载
bluemix2almost 4 years ago
I really learned a lesson from this author and article. Probably my first comment here on Hacker News.
newlikeicealmost 4 years ago
Best PDF for work, hands down. I don’t even download new I have had the same exe for like 5 years.
mcc1anealmost 4 years ago
Can anyone give an opinion on the configuration file format? (compared with JSON and XML)
yetanother-1almost 4 years ago
An inspiring story, and good decision making process as well.<p>Congrats on the good work!
41209almost 4 years ago
Does it work for editing.<p>Right now I&#x27;m paying $15 a month for primarily the privilege of editing PDFs. It seems every time I switch jobs, or have to send some documents, I need Adobe PDF writer.
评论 #27975611 未加载
dataflowalmost 4 years ago
Any chance it&#x27;ll use subpixel smoothing one day? Grayscale smoothing makes me want to tear my eyes out. It&#x27;s the main thing that prevents me from ever switching.
评论 #27975056 未加载
Hubliumalmost 4 years ago
I still install Sumatra PDF on every Windows PC I have to work on. It&#x27;s a habit I&#x27;ve kept from the days when Acrobat Reader took like 30 seconds to start.
dexterhaslemalmost 4 years ago
long time user of SumatraPDF, this was a good read.<p>&gt; Let&#x27;s say I need to do a network request. I could include a monster library like curl or I could write 300 lines of code using win32 APIs. I wrote 300 lines of code.<p>huh, reminds me of tangent I have been in the same exact boat and did the same. Then something came up with SSL and just dragged in curl and doubled executable size. I think things are better these days in WinHTTP..
rahimnathwanialmost 4 years ago
It&#x27;s one of the best epub readers for Windows.
Zababaalmost 4 years ago
SumatraPDF is one of the thing I dearly miss after having switched from Windows to Linux. It&#x27;s just perfect for reading PDFs.
quyleanhalmost 4 years ago
I have been using Sumatra for years and don&#x27;t know the story behind this great app. Thank to dev for such a long journey.
hythytalmost 4 years ago
Best PDF reader ever!
jstimpflealmost 4 years ago
&gt; From the beginning my goal was to keep the UI of SumatraPDF as simple as possible. An 80&#x2F;20 app: 80% of functionality with 20% of the UI.<p>Come on, voices! Shout! &quot;Worse is better&quot; is the root of all evil. It&#x27;s a virus, like C and Unix, and it is why most software is so miserable.
评论 #27972172 未加载