News for hackers. Stuff that matters.
Re:1.5M PDFs in 25 Minutes by rbdixon on Thursday February 15, 2024 @11:49AM (#39384997)
I have a complex document generation tool based on latex. I’ve been working on replacing it with typst. Typst is simply 10x faster.

Crazy example of how fast typst is: 30”x30” document with 2600 tiny images generates a 40MB PDF in under a half second.

Check typst out. It’s amazing. Not quite latex equivalent in some ways but moving fast on an amazing foundation.

Re:1.5M PDFs in 25 Minutes by singhrac on Thursday February 15, 2024 @09:51PM (#39392578)
They should absolutely switch to Typst for programmatically generating PDFs. pdflatex is notoriously slow.
Re:1.5M PDFs in 25 Minutes by tehbeard on Tuesday February 20, 2024 @05:01AM (#39439529)
Gave this a look at, as PDF generation has been the bane of web app development for us.

This looks much more reasonable than fpdf's bare bones nature, or wkhtmltopdf / snappy / puppeteer needing esoteric, old CSS specs and having a lot of quirks because of it.

Particularly happy at how it can swap page size as needed.