Lucien RivièreDepth: Y -46
  • /tp HomeGo to
  • /tp ProfileExperience, skills and CVGo to
  • /tp MethodHow I work, layer by layerGo to
  • /tp ContactSay helloGo to
  • /tp ProjectsEverything I built, filterableGo to
  • /tp CollaboratorsEveryone I built withGo to
  • /tp SignalMapA mobile coverage map of Réunion and Mayotte: click anywhere and see the signal you would get from about 3,100 antennas.Projects
  • /tp ZappyA network survival game in three programs: a C++ server, a 3D viewer and AI players, with LLM role-playing agents as a bonus.Projects
  • /tp MaskGeneratorA small neural network that finds the road lines in a camera image, and a 2D raycast that turns them into lidar-like distances to drive a car.Projects
  • /tp CockerA prototype platform to design an app as a graph of services and deploy it on Kubernetes: sandbox to try it, production to expose it.Projects
  • /tp RaytracerA C++ raytracer where everything (shapes, materials, lights, output) is a plugin, sped up with a BVH, with a live preview window.Projects
  • /tp RoboCarA small real car that drives itself around a track: a camera, a lidar-like view of the road lines, and a model that learned from human driving.Projects
  • /tp CVRIETwo machine-learning studies using only scikit-learn: classifying chest X-rays, and grouping patient testimonies into symptom clusters with no labels.Projects
  • /tp MyTeamsA Teams-like chat in Rust: a multi-client server, a command-line client, a text protocol written as an RFC, and data that survives restarts.Projects
  • /tp ArcadeA retro game console in C++ where games and screens are plug-in libraries: swap the game or the graphics (terminal, SDL, SFML) while it runs.Projects
  • /tp Masked DeliveryA game made in a weekend for Global Game Jam 2026: pick the right mask for each caller, then survive the drive, with penalties that stack up.Projects
  • /tp 42shA Unix shell written in C, tcsh-style: pipes, logic operators, globbing, aliases, variables, line editing and history, checked against Bash.Projects
  • /tp CorewarA virtual machine in C where small programs fight inside a shared memory, with my own warrior and a 3D viewer in the bonus.Projects
  • /tp A-DasHboarDA dashboard of widgets from third-party services, built on JustBetterAuth, an authentication library written from scratch.Projects
  • /tp StoneAnalysisA Python tool that finds the notes in a sound file with a hand-written Fourier transform, and hides secret messages inside the audio.Projects
  • /tp PipetoA security audit of a nuclear-reactor console full of planted vulnerabilities: find them, rank them, patch them and prove the fixes with tests.Projects
  • /tp TardisCleaning SNCF train-delay data, training a model to predict delays, and a Streamlit dashboard. The model barely beat guessing, and the page says so.Projects
  • /tp InterStonarThrow a rock into a simulated universe: planets that attract each other and merge, or shapes it hits, found by stepping with signed distances.Projects
  • /tp SensAIA small chat program for a local AI model that talks to it with plain HTTP, and can force its answers into a JSON shape you define.Projects
  • /tp This portfolioThe site you are on: one set of data, six themes. Each theme is a different way to explore the same work, from a familiar page to a game.Projects
  • /tp Portfolio toysSmall interactive toys from this portfolio: Fourier epicycles, a themed crossword and a bot that walks where you click.Projects
  • /tp snake_pyA contribution to Infamous97440's repository: 2 commits from me.Projects
  • /tp MyTopA clone of the Linux top command in C and ncurses: live CPU, memory, swap and per-process usage read from /proc.Projects
  • Switch to CorporateThemes
  • Switch to SpaceThemes
  • Switch to Cocktail PartyThemes
  • Switch to ReelThemes
  • Switch to GroveThemes
  • Search the whole siteActions
  • Download CV (PDF)Actions
  • Copy my email addressActions
  • Turn the home page bot on or offActions
All themes

← Back to the inventory

Chest · Systems & networks

MyTop

A clone of the Linux top command in C and ncurses: live CPU, memory, swap and per-process usage read from /proc.

archived

Period
Dec 2024 – Dec 2024
Role
Author
Party
Solo
Status
archived
Last touched
February 2026
On GitHub
0 ★ · last push 2026-02-09

Contents

Demo

A real session, recorded in a clean container by scripts/record-cast.sh
Transcript (final screen)
demo:MyTop$ ./my_top
demo:MyTop$ ls *.c | wc -l
22
demo:MyTop$ 

MyTop is my own version of top, the Linux command that shows what your computer is busy with: how long it has been running, how loaded it is, how much memory is used, and every running program with its share of the processor, refreshed live.

How it works

Linux exposes all of this as small text files that the kernel writes on the fly. MyTop reads them, sorts the programs by how much processor they use, and draws the table in the terminal. A bonus version adds top’s options to show one user’s programs, change the refresh rate or stop after a few updates.