PolyWolf in a wintry forest

PolyWolf's Blog

NEW BLOG ENGINE WORKING!!

Published

Finally!!! It's been a while since I started thinking about this, but I finally have things in a state where I can build my entire site using it. In fact, you're looking at its output right now :31 The best part? Rebuilds for a single blog post changing content are 100ms baby lesgooooooo2.

Other types of rebuilds that change logic affecting all pages range from 200ms to 1sec, which is totally fine in my book. Overall I'm very pleased with the speed, which is good, considering that's literally the reason I started this whole project in the first place.

In the process of getting things this fast, I had to think a lot about algorithms & data structures, which also forced me to learn a lot of new things. I have a few draft posts about that in the works, which, now that I've properly finished the coding, I will have no excuse but to work on instead. Keep an eye out for those I guess ¯\_(ツ)_/¯

  1. You may have already noticed if you're using RSS; the feed went out briefly and has come back as an Atom feed instead. EDIT: I realized the syntax highlighting was broken too; that should be fixed now, with a custom (very bad) colorscheme I made myself.

  2. And that's before some other improvements I have in mind, like "don't spawn an absurd amount of Boa contexts" and "use a file watcher instead of hashing every input file every time".

#blag
Comment on MastodonComment on Bluesky