Rickard Lindberg | Blog | Projects

Newsletter May 2026: Dynamic Libraries and Server Management

Written by Rickard Lindberg Profile picture of Rickard. in #newsletter

I started out this month by trying to deploy my profiler in rlworkbench. One feature that I missed was seeing how much percent of the time was spend outside of any zone that I had defined. So that I could see which parts I did not cover. Maybe I will add it. And I'm also interested in seeing if the profiler can be permanently deployed. Now I just did a test to see if it could be used at all. And it could.

Then my focus shifted to developing a wiki software and deploying it to a server. I wrote about how I manage that server. The wiki is written as a Flask application running behind nginx. Since the wiki is not public, I had to figure out how to serve static files from nginx that require authentication. The blog post Nginx X-Accel Explained showed me how.

Then I started watching an episode of Handmade Hero. It might have been Loading Game Code Dynamically. In it, Casey shows how to separate part of the game to a DLL that can be reloaded during runtime. This is something that I want to do in rlworkbench as well. When you edit a language, it should recompile and reload. So I spent time figuring out how dynamic libraries work in C and spent time refactoring the code to support the extraction of languages to libraries that were then loaded at runtime. I was excited to get that working. Now I can ship a core set of languages with rlworkbench and users can make their own and add. I use that in the syntax highlighting here on my blog. Languages in rlworkbench do the syntax highlighting. Some of those languages are well known, like Python and C, and they ship with rlworkbench. Others are custom languages that only I use in small projects that I highlight on my blog. Those languages are not part of rlworkbench but I add them to rlworkbench when compiling my blog.

This month, I also ran Stockholm Marathon 2026.

TODO

Here are the things that I'm currently most interested in working on next month:

  • rlworkbench

    • Deploy my profiler and repetition tester

    • Draw performance graph and replace current timings with rlprofiler

      • Will need fill_rect from platform layer

    • Think about how to use it to create a game dev environment for kids

    • Start using rlworkbench instead of Vim as my default text editor

      • Search function for quicker navigation

      • Ability to open files

  • My blog

    • Migrate all blog posts to it

    • Fix redirects

      • For blog posts

      • For pages: rickardlindberg.me/projects/x -> projects.rickardlindberg.me/x

        • Same for tags?

    • Make different post types render nicely

      • Icons?

  • Computer, Enhance!

    • Continue course and do more homework

  • Store Kinesis keyboard config in dotfiles

  • Wiki Server

    • Improve monitoring

2026-05-31 week 22

What is Rickard working on and thinking about right now?

Every month I write a newsletter about just that. You will get updates about my current projects and thoughts about programming, and also get a chance to hit reply and interact with me. Subscribe to it below.

Powered by Buttondown (My Newsletter)

Profile picture of Rickard.

I'm Rickard Lindberg from Sweden. This is my home on the web. I like programming. I like both the craft of it and also to write software that solves problems. I also like running.

Me elsewhere: GitHub, Mastodon.