aliases: salt, thesalt, theoverengineer, waternine9
fields: graphics programming, language development, operating system development, hpc
languages: c, c++, cuda, x86 assembly, python
platforms: x86, windows, linux
tools: gcc/g++, nasm, ld, python3, git, gdb
APIs: opengl, sycl, cuda, sdl2, raylib, pygame
philosophy: less code is more. avoid complexity that isn't strictly necessary. then optimize.
to contact, message @theoverengineer on discord or email owner@saalty.net
1. Implemented USB 3.0 (XHCI) specification sourced from USB-IF, and implemented communication with HID (USB mouse, USB keyboard)
2. Implemented NVMe (Version 1.4 compatible) specification, and implemented block reads/writes.
3. Implemented a custom bootloader, which uses a 16-bit to 32-bit to 64-bit stage structure to successfully load the kernel and userspace on the modern x86_64 hardware architecture. The bootloader also initializes VBE and automatically selects a preferred framebuffer and bit depth.
4. Designed (and implemented) a custom filesystem, using block-based architecture along with modular storage-driver integration, supporting nested directories and large file sizes.
5. Implemented ACPI support
1. The compiler can self-host successfully with 23,000 lines of C having to be compiled.
2. The compiler has not only an x86 backend for Linux (SystemV ABI), but also implements in-house x86 instruction encoding, ELF object file writing, and linking into a dynamically-linked executable, removing need for an assembler and external linker.
3. The compiler implements non-SLP AVX2 autovectorization, CSE, function inlining, loop unrolling, IR stack peephole optimization, and constant folding
4. The compiler implements GCC/Clang style error messages, detailed error location and on some error messages, notes are implemented as well
5. The compiler also has a preprocessor stage, with function macros, includes, ifdef/ifndef/else/endif
1. Implemented a lexer/parser hybrid architecture, skipping the usual 2-pass lexer->parser AST generation
2. Implemented a x86 NASM-syntax assembly codegen layer for Linux. Includes float support with SSE.
3. Implemented typedef (aliasing), type casting, arrays, array subscripts, pointers, floats, structs, function definitions/calls, and if/else/"else if"/while/for control flow keywords. There are added "write" and "read" keywords that outputs/inputs a single character to stdout/stdin.
4. Implemented a type checker, ensuring safe x86 assembly code generation.
5. Implemented SystemV AMD64 ABI for both trivial argument passing and struct passing.
6. Supports binding with external C libraries such as Raylib, allowing extremely versatile programs.
7. Implemented an arena allocator to seal many kinds of memory leaks and to avoid OS heap allocation overhead, allowing for faster compilation times.
8. Implemented a preprocessor (#include, #define)
1. Implemented a software renderer, that has perspective-correct textures, near-plane clipping, and integration with the shader runtime.
2. Implemented a parser, for a subset of GLSL, which outputs an AST that runs on custom runtime. Supports custom functions, various mathematical standard functions, type-based expressions, and texture sampling.
1. Implemented several GPGPU kernels, computing a forward and backward pass across various types of layers.
2. Supports a diverse set of layer types: Standard convolution, max/average pooling, transposed convolution, and pixel shuffle.
3. Supports a diverse set of layer activations: Sigmoid, LRELU, RELU, and Tanh, as well as supporting arbitrary floating point types, such as float16 (sycl::half)
4. Supports modern Adam/AdamW optimizers, cosine annealling scheduler, and batching
5. This library was used in another project of mine to successfully train a 300k parameter model to perform 2x image upscaling, making use of the PixelShuffle layer type.