Swapping memory and compiler optimizations

During my vacation for the holidays I thought that maybe I wanted some smaller project that you could fit in together with “family life” (not the easiest of endeavour!) and I got to think about some old code that I had laying about in my own little game-engine that I have thought about making public for a while. I thought it might be useful for someone else and maybe just doing some optimization work on it might be a fun little distraction!

Read More

A Zig Diary

As it turned out I happened to help out with fixing a space to host a zig meetup here in Stockholm at the place where I work. However I haven’t written a single line of zig in my life… I felt that it might be worth doing something about that :D If you don’t know, zig is a new systems programming language! I have found zig quite intriguing for a while now but I haven’t had the time to look into it so this sounded like an as good excuse as any!

Read More

When memcpy() change!

To start of, yes, I know that this article touch undefined behavior and that all bets are off! I am currently working on a bigger post on swapping memory that is THIS close to being done… any day now (he has been saying the last year!). However this topic popped up and I was wondering if it was worth making the other post longer or just make a small one about it.

Read More