42 Barcelona · Common Core

Projects

These are not tutorials or exercises. Each project is a from-scratch implementation evaluated by peer engineers and automated graders — no partial credit, no hints. They represent the systems-level foundation that carries forward into production work.

C · IPC · POSIX

Minitalk

A client-server communication system built entirely on UNIX signals (SIGUSR1 / SIGUSR2). No sockets, no pipes. Each bit of the message is transmitted as a signal, with sigaction + SA_SIGINFO providing sender PID for reliable ACK routing. The protocol transmits a 32-bit length prefix before the payload, allowing the server to allocate an exact buffer before reconstruction begins.

C · Algorithms · Sorting

Push_swap

Sorts arbitrary integers using two stacks and 12 allowed operations, minimizing total operation count. Three-path strategy: hardcoded optimal sequences for n ≤ 3, manual extraction for n ≤ 5, and binary radix sort by index bits for large inputs. 31 commits document the iterative development; Workflow.txt shows the algorithm was designed on paper before any code was written.

C · Graphics · Linear Algebra

FDF — Wireframe 3D

Renders elevation maps as isometric wireframes using direct framebuffer writes — paint_pixel() computes pixel offsets via pointer arithmetic into MiniLibX's raw pixel buffer, with no drawing library calls. Bresenham's line algorithm draws edges with bounds checking against a 2000×2000 canvas. Map dimensions, elevation values, and colours are parsed at runtime using a self-implemented get_next_line.

All 10 repositories available on GitHub.

View GitHub profile ↗