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.
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.
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
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
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).
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.
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&
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.