← Stack

C

When I need to talk directly to hardware.

SINCE
2024
PROFICIENCY
70%

I wrote the DWA-131 H1 Linux kernel driver in C. Kernel code means no libc, manual memory management, strict pointer discipline, and zero tolerance for undefined behavior — the kernel panics, it doesn't segfault. Writing a kernel module taught me what C actually is under all the abstractions.

I USE IT FOR
  • Linux kernel modules and drivers
  • Low-level hardware interfacing
  • Embedded systems
  • Anything where malloc() is a luxury
CODE SAMPLE
#include <stdio.h>
#include <stdlib.h>

int *range(int n) {
    int *arr = malloc(n * sizeof(int));
    for (int i = 0; i < n; i++) arr[i] = i;
    return arr;
}

int main(void) {
    int *r = range(10);
    free(r);
    return 0;
}