Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    L

    Laurenz Mädje

    laurmaedje.github.io · Personal blog · on HN since 2022

    Laurenz Mädje, a primary developer of Typst, writes about typesetting, layout models, math mode, and a Rust hyphenation library.

    Visit blogRSSHN submissions
    Languages & CompilersProgrammingDesign & UX
    What HN says

    HN commenters point to his TeX versus Typst layout post to explain how the two differ, and discuss his math mode post.

    Stats for nerds
    17HN people shared it
    11linked in comments
    424story points
    Dec 2025last shared
    2023people per year2025

    Top posts on HN

    1. 1
      TeX and Typst: Layout Models (2024)
      5 people · 240 points · first shared 2025 · 38 comments on HN
    2. 2
      Typst's Math Mode Problem
      2 people · 124 points · first shared 2025 · 54 comments on HN
    3. 3
      What If LaTeX Had Instant Preview?
      3 people · 46 points · first shared 2022 · 23 comments on HN
    4. 4
      How to Put 30 Languages into 1.1MB
      6 people · 10 points · first shared 2022 · Discussion on HN
    5. 5
      Evolving Typst
      2 people · 4 points · first shared 2026 · Discussion on HN

    What HN people wrote when they linked it

    • armchairhackerJul 2023

      I wonder how this compares to comemo [1] [2], they're both memoization frameworks with "tricks" to limit invalidation.

      The trick in comemo's blog post is to make the dependencies fine-grained, by tracking and only comparing what parts of them are actually used; while the trick here is to have functions depend on other outputs instead of the root input, so changes don't propagate all the way (+ laziness). But I'm sure some comemo functions are memoized on incremental computations, and salsa has some way to e.g. not recompute the entire AST when the source code changes.

      I suspect there's also an issue where most incremental computations tend to invalidate way more than they need to; like if someone accidentally creates a function which takes a big array and an index, and only access the element at or a few elements around that index, but the anything in big array changing will cause it to be recomputed. So is there a system to profile what gets recomputed every time a query is run?

      [1] https://laurmaedje.github.io/posts/comemo/

      [2] https://github.com/typst/comemo

    • velcrovanMar 2025

      What do you think of this post by Typst's primary contributor? https://laurmaedje.github.io/posts/layout-models/

      Do you think it is sufficiently respectful of TeX/LaTeX?

      As far as proponents go, I will echo the sentiments of many people who have actually used both TeX and Typst: I have been able to accomplish many things in Typst within an hour or two by writing my own Typst code, that in LaTeX I could only accomplish after several days by cargo-culting indecipherable gibberish from years-old forum posts. I freely admit Typst can't (yet) match LaTeX's long-tail package ecosystem, but it is much more pleasant to use and easier to reason about.

    • zellynFeb 2025

      After reading Laurenz's blog post on TeX vs Typst layout [1], it made me wonder: how hard would it be at this point for them to make Typst directly understand TeX, and let you insert chunks of TeX. It would make for a really nice upgrade path. Of course, being bug-for-bug compatible once people layer on tons of TeX packages seems like a losing game. But if most straightforward TeX stuff "just worked", it would be an easy way to upgrade one paragraph at a time…

      [1] https://laurmaedje.github.io/posts/layout-models/

    • bayesnetDec 2025

      For those interested in typst, Laurenz wrote[0] about the differences between the typst and TeX layout algorithms a while ago. The paragraph layout algorithm is the same but the way it interacts with page placement is quite different.

      [0]: https://laurmaedje.github.io/posts/layout-models/

    • hkmaxproSep 2025

      I am also not a fan of automatic fraction.

      BTW, I notice that both of your complaints will be addressed in the next version:

      https://github.com/typst/typst/pull/6672

      https://github.com/typst/typst/pull/6442 , see also https://laurmaedje.github.io/posts/math-mode-problem/

    • laurmaedjeOct 2023

      Typst handles hyphenation very similarly to TeX.

      https://github.com/typst/hypher

      https://laurmaedje.github.io/posts/hypher/

    Related

    Raph Levienmedium.com/@raphlinus16 people

    Inside font-rs, a font renderer written in Rust

    Raph Levien
    Personal · last shared 2023
    Alexis Kinglexi-lambda.github.io172 people

    Parse, Don’t Validate

    Alexis King
    Personal · last shared 2026
    Pointers Gone Wildpointersgonewild.com88 people

    The internet changed my life

    Pointers Gone Wild
    Personal · last shared 2026
    matkladmatklad.github.io237 people

    Architecture.md

    matklad
    Personal · last shared 2026
    Niko Matsakissmallcultfollowing.com221 people

    Towards a Rust Foundation

    Niko Matsakis
    Personal · last shared 2026
    Stefan Baumgartnerfettblog.eu25 people

    Rust: Enums to Wrap Multiple Errors

    Stefan Baumgartner
    Personal · last shared 2024
    Manish Goregaokarmanishearth.github.io97 people

    Picking Apart the Crashing iOS String

    Manish Goregaokar
    Personal · last shared 2026
    Bram.usbram.us47 people

    YAML: The Norway Problem (2022)

    Bram.us
    Personal · last shared 2026