luccie

I write the parts of a computer most people never see, and a music player to run on top.

/tmp > cat hello.c
#include <stdio.h>

int main(void) {
    puts("hello, luccie.dev");
}

/bin/cat exited with 0
/tmp > clang hello.c -o hello
/bin/clang exited with 0
/tmp > ./hello
hello, luccie.dev
././hello exited with 0
/tmp > 

This is MyOS2, my operating system, compiling and running a C program by itself.

The session is copied from its screen. The big letters above are its console font.

Music

EXA

A lossless audio format. It predicts each sample from the ones before it and stores only what it got wrong. On my library that comes out 3.4 % smaller than FLAC.

50 milliseconds of a song what EXA stores for it, at the same scale

EXA player

The desktop app I listen with. Its shuffle learns from what I skip, and lyrics follow the song.

EXA for iPhone

Streams my library from a server at home, and plays downloaded songs offline without losing a bit.

Language

Lunar

A typed language with structs, methods and namespaces. The compiler, written in C++, parses and checks a program and turns it into its own intermediate code.

Operating system

MyOS2

A 64-bit x86 system with its own kernel, drivers, C library, dynamic linker, shell and text editor. It starts from an NVMe disk, takes a USB keyboard, and runs a port of Clang and LLVM. The Limine bootloader gets it going.

Processor

Helix

A processor of my own design, with 32 registers and its own instruction set. It has an assembler and an emulator in progress.

RISC-V and x86 emulators

These imitate how a modern chip works inside: renaming registers, running instructions out of order and retiring them in order. The RISC-V one is working its way through OpenSBI, real boot firmware.