This week I got sidetracked and started to look into ubiquity, but even worse I think I took the wrong approach when starting to add types and trying to understand the code. Now I think the best way is to get a version running first before I start adding types … but that will probably not be next week. I both need and want to get back to euphoria and klotter.

Gustav Jansson
Welcome to my lair.
Latest devlogs
This week I didn’t really do much. Some small work on spotlight, workbench and various other smaller projects but nothing big.
This week I continued work on euphoria. I am currently working on getting 100% function coverage for the base library before I move onto rendering and tools.
Latest blog posts
Another year full of devlogs and another review of what I have achieved and failed to achieve.
workbench, euphoria, gaf and json
Workbench started out as a repo of various build scripts, but is now a single tool for running all those “scripts”. This year I ported everything from rust to c# and scoured my repos for other tools to integrate it into the code base.
One of the big reasons for choosing C# is so that I can use the spectre project to get a nicer cli. The other big reason is that I use c# as a language for work so I’m very familiar with it. I can also use resharper to clean up the code and do major refactorings, that wasn’t really possible with the rust or the python version.
In November of last year I noticed that the time it took to process inputs in Ride was way too high, almost a full second between each key input and for a text editor that’s unbearable. I tried to tweak the event handling but nothing helped and lost motivation, put the project on ice and started working on other things.
About 3 weeks ago the motivation came back and I started hacking and refactoring on the code to support multiple “backends” for rendering and handling input. Currently it’s using OpenGL but I previously had both a wxWidgets and a software renderer backend so it was “only” a matter of bringing them back from the depths of the git history.
I recently realized that I’ve been writing my devlog since 2017 but I have never compiled all the devblogs into a longer post starting from today. I’ll summarize and write a smallish review of what I’ve done on all my hobby projects the past year.
Euphoria
Euphoria is my hobby game engine and to much surprise I did a couple of cool things related to it.
Code wise I’ve continued to code cleanup (replacing streams with fmt), both warnings and enabled warning-as-errors(with w4/Wall+extra), I also added both a clang-tidy and coverage step on github actions so I can keep the code clean and strive towards a 100% coverage for the core. Added a PCH cut the compilation time by roughly 66%.