At least it works.
  • Home
  • Podcast List
  • About
  • Flightschool blog

c#

A collection of 16 posts

Bf Interpreter

Brainf*** interpreter optimization excercise (part 4)

In this post the brainf*** interpreter is further optimized by translating the source code to an internal instruction set.

  • Aaron Lenoir
4 min read
Bf Interpreter

Brainf*** interpreter optimization excercise (part 3)

In this part I optimize the Interpreter to run code in 43 seconds instead of 1 minute 7 seconds.

  • Aaron Lenoir
2 min read
Bf Interpreter

Brainf*** interpreter optimization excercise (part 2)

In part 1, I looked at a reference implementation for Brainf*** and a first optimization. The execution time was reduced from 2 minutes, 16 seconds to 1 minute, 6 seconds. Now we'll look

  • Aaron Lenoir
1 min read
.net

Learning .NET from the experts (Part 2)

As previously I felt like browsing around the .NET Core source code again, with the aim to pick up some things. I ran into a class I didn't know: ArrayPool. Which, according to

  • Aaron Lenoir
2 min read
c#

Get original length from a Base 64 string

A question was posed today: can I get the exact length in bytes of the input data, if I have a Base64 string? The answer is yes. Summary (TL;DR) Base64 encodes three

  • Aaron Lenoir
1 min read
.net

.NET Standard Continuous Integration with Travis CI and Github

After porting FlacLibSharp to .NET Standard, publishing it to NuGet and building it on Linux. I felt I needed to add Travis CI continuous builds to my Github repo. I thought that this

  • Aaron Lenoir
4 min read
c#

Building and Testing a .NET Standard library on Linux

I maintain a library with a modest number of users (at least two!) that can read FLAC metadata, in .NET. Recently I ported it to .NET Standard and published it on NuGet. Porting

  • Aaron Lenoir
7 min read
Bf Interpreter

Brainf*** interpreter optimization excercise

As an excercise I wanted to make a bf interpreter in .NET Core. I wanted to see how fast I could make it go. Introduction The language we'll be interpreting is very small.

  • Aaron Lenoir
4 min read
.net

Learning .NET from the experts (Part 1)

Ever since the .NET source code has been available, I roam through it now and then to learn some things. I'm assuming the people who create .NET Framework and .NET Core are experts

  • Aaron Lenoir
3 min read
NETStandard

Porting FlacLibSharp to .NET Standard (Part 2)

In Part 1 I talked about how I got from a .NET Framework 2.0 project to a .NET Standard 1.3 project. In this post, I'll write down what I did to

  • Aaron Lenoir
6 min read
NETStandard

Porting FlacLibSharp to .NET Standard (Part 1)

With the release of .NET Standard 2.0 I thought it was time to convert FlacLibSharp to .NET Standard. FlacLibSharp is a .NET library I once made to read and write metadata of

  • Aaron Lenoir
7 min read
english

Parallel Linq

Resharper tells us to convert for(each) loops to Linq. An argument I read was that Linq queries offer options for parallelization. Iterate over each item in parallel, making it faster on hardware

  • Aaron Lenoir
2 min read
FlacLibSharp

FlacLibSharp Found a User

Some time ago I started work on a small library to read FLAC file metadata. Nice to know publishing your niche personal projects can help people. I was going to use it to

  • Aaron Lenoir
2 min read
english

Akka.NET: Creating a File Download Actor with Progress Reporting

In this post, I walk through the creation of a single Actor for Akka.NET. It will download files and report its progress to other Actors. I'll go through all details but might

  • Aaron Lenoir
9 min read
english

Integrating WPF and Akka.NET

I'm wondering how to combine an Akka.NET actor system with a WPF front-end. The Actor Model provides a nice way to build concurrent systems. There are several implementations for .NET. Orleans and

  • Aaron Lenoir
5 min read
english

Detect System Idle in Windows Applications

I maintain a small tool to track my own activities through the day. For this, I wanted a feature to automatically log when I was "idle". So I'd know how long

  • Aaron Lenoir
2 min read
At least it works. © 2025
Latest Posts Twitter Ghost