Why I find Rust interesting

March 24, 2023

Initially, I planned for this to be an introduction to the Rust programming language for colleagues at work. However, when looking around online for inspiration, I noticed that one thing there was no shortage of, were Rust introductions. So with that in mind, I thought I would instead focus why I personally find the language interesting. So I won’t be teaching you how to write Rust. I won’t be giving an overview of the language syntax, or its type system. ... Read more

Make your own quick, "simple" and portable heap allocation tracker in Rust

August 25, 2022

Besides altering your algorithms, another easy way to improve the performance of your code is by reducing heap allocations. Compared to the heap, stack allocations are significantly faster to both allocate and free, as they are usually done by simply updating a pointer, potentially in a single operation, and often by a dedicated CPU register. The heap on the other hand is a complicated beast. There is a fair amount of bookkeeping involved when acquiring and potentially releasing memory for your application, and avoiding this overhead will usually net you some decent performance gains, especially if these are happening frequently in your code. ... Read more

Lowering in C#

August 22, 2022

Understanding the performance characteristics of a C# program isn’t always as straightforward as you might think. In much the same way as the JIT can take IL code, transform and then optimise it. Your C# code will first go through a phase where it is lowered before being transformed into IL. Shortcuts Rather than providing custom implementations for each syntax feature at the IL level, lowering allows the compiler authors to save a bit of time and convert that syntax into simpler constructs, which can then be transformed into IL. ... Read more

Area 5150 & The Demoscene

August 21, 2022

For those not familiar, the demoscene is a computer art subculture whose main focus is on producing self-contained audiovisual presentations for people to flex their programming, graphical or musical ability. It started sometime in the early 1980s and remained quite popular up until the early 2000s. Its’ popularity has fallen off somewhat in recent years, but it still continues today, with demos being released mostly at organised competitive events such as Evoke, a demoparty which is held annually in Cologne. ... Read more

Opinion - a view or judgement formed about something, not necessarily based on fact or knowledge

August 24, 2019

As a software developer who has been in or around the industry in one way or another for over twenty years now, I find the content on the wider internet landscape more and more difficult to digest. This is not a comment on the quality of the writing, the intrusive nature of modern day advertising, or even the click-bait articles that are overt in their inaccuracies and increasingly pervasive. Nor is this about the vitriolic endless back-and-forth between supporters for opposing ideologies, be they political or otherwise. ... Read more

© 2023 | Follow on |