Archivist's Mumbling
  • All
  • English
  • Français
  • русский

programming

A collection of 8 posts

English

A small outlook at genetic algorithms

Genetic algorithms are a type of feature optimization algorithms. They are designed to either minimize or maximize the fitness of something of our choice.

  • Ludovic Lagouardette
    Ludovic Lagouardette
5 min read
English

Fast logging

Everyone loves logs, but everyone hates logging. Logging is such a performance hindrance to get right I share here some napkin drawings of how to do it relatively fast.

  • Ludovic Lagouardette
    Ludovic Lagouardette
4 min read
C++

Correct benchmarking

Benchmarks and microbenchmarks have been a staple of computer science for the better part of its history. We spent a lot of time learning about fast code and how to measure it. You

  • Ludovic Lagouardette
    Ludovic Lagouardette
14 min read
English

Readable code: a guide to absolute beginners

I am a teacher, I am in contact with beginners very often and beginner developers often do not feel the necessity to write their code in a nice, cleanly indented fashion. If you

  • Ludovic Lagouardette
    Ludovic Lagouardette
4 min read
English

Concurrency with nothing, Part 2

To understand concurrency, it is very useful to have access to a form of concurrency that we can tinker with. Here is one: green thread, also called stackful coroutines (which is not entirely adequate but is a close approximation).

  • Ludovic Lagouardette
    Ludovic Lagouardette
7 min read
English

Concurrency with nothing, Part 1

Concurrency is when several execution threads exist within a program and interract with a shared state. An execution thread is not necessarily an operating system thread. It can be a lightweight thread, a coroutine, or even another process.

  • Ludovic Lagouardette
    Ludovic Lagouardette
7 min read
C++

Syscalls for Linux on Clang++

Here is a snippet of code to perform system calls on x86_64 in C++ (Clang or GCC) without any standard library: #pragma once #include <cstdint> #include <cstddef> template&

  • Ludovic Lagouardette
    Ludovic Lagouardette
2 min read
English

Minimal amout of code needed

It is no secret that I don't like dependencies. I don't like dependencies and I hate external dependencies. But there is something I hate even more: small and very small dependencies.

  • Ludovic Lagouardette
    Ludovic Lagouardette
4 min read
Archivist's Mumbling © 2025
Latest Posts Twitter Ghost