## About Me

I'm a **Senior Software Engineer** building scalable, high-performance systems across the full stack. My work spans conversational, AI-driven systems where natural language is the interface for real-world actions, and the platform primitives — identity, logging, tooling — underneath them. I work with **TypeScript**, **Rust**, **Elixir**, **Node.js**, and modern web technologies.

My expertise spans **zero-dependency libraries**, **Rust-powered tooling**, **AI-driven architectures**, and **distributed systems**. I build developer tools that cut complexity and ship fast.

***

## Featured Projects

### [@gentleduck/ui](https://github.com/gentleeduck/gentleduck)

**React + TypeScript Component Library**

A full-stack component ecosystem built from scratch - own primitives, own calendar engine, own keyboard system. No Radix dependency, no react-day-picker, no external UI frameworks. gentleduck/ui delivers:

* **57 styled components** backed by **35 headless primitives** that are 50-92% smaller than Radix
* **Calendar engine** at ~5 KB with 4 calendar systems (Gregorian, Islamic, Persian, Hebrew) vs react-day-picker's ~20 KB
* **Interactive CLI** with hunk-by-hunk merge TUI for updating components without losing local changes
* Production-ready, accessible UI with WAI-ARIA compliance and keyboard navigation

**Tech Stack:** React, TypeScript, TailwindCSS\
**Impact:** Used in production across multiple products

***

### [@gentleduck/ttlog](https://github.com/gentleeduck/duck-ttlog)

**Production-Grade Rust Logging Engine**

A high-performance logging system for distributed applications featuring:

* **Lock-free ring buffers** for non-blocking ingestion
* **CBOR + LZ4** compressed snapshots with atomic file writes
* **Crash-capture** and post-mortem inspection without runtime impact
* Benchmarked at **~7–9M events/sec** end-to-end (produced and consumed) and **~15M buffer ops/sec** peak, on a lock-free hot path

**Tech Stack:** Rust\
**Use Case:** Extreme throughput scenarios requiring reliable diagnostics at scale

***

### [@gentleduck/template](https://github.com/gentleeduck/duck-template)

**Fast Rust-Powered Scaffolding CLI**

A project scaffolding tool driven by structured JSON configs:

* Variant support with remote/local config sources
* Dynamic flag injection and modular commands
* Reproducible, environment-aware project layouts
* Cuts project setup time from hours to minutes

**Tech Stack:** Rust\
**Purpose:** Standardize bootstrapping across teams

***

### [@gentleduck/ttest](https://www.npmjs.com/package/@gentleduck/ttest)

**Zero-Runtime TypeScript Type Testing**

A compile-time type-level testing framework for TypeScript:

* Validates assignability, equality, and inference without emitted JS
* Clear, IDE-friendly failure messages
* Includes advanced type-only utilities (SQL & JSON inference/parsers)
* Perfect for framework authors and type-heavy codebases

**Tech Stack:** TypeScript\
**Highlight:** Catch type-level bugs at compile time, not in production

***

### [@gentleduck/variants](https://www.npmjs.com/package/@gentleduck/variants)

**Zero-Dependency Class Composition Utility**

A TypeScript-first utility for declarative class-name composition:

* **~7× faster** than reference implementations
* Fully type-safe with IDE autocompletion
* Supports default & compound variants, nested arrays, conditionals
* Tiny bundle footprint

**Tech Stack:** TypeScript\
**Inspired by:** Tailwind/CVA

***

### [@gentleduck/vim](https://www.npmjs.com/package/@gentleduck/vim)

**Framework-Agnostic Vim-Style Navigation**

Transform any browser app into a modal, keyboard-first experience:

* Declarative keymaps with leader-key and chord support
* Modal editing (normal/insert/visual) with rich motion primitives
* Framework adapters for React/Angular/Svelte/vanilla
* Accessibility-friendly fallbacks

**Tech Stack:** TypeScript\
**Purpose:** Add muscle-memory navigation and power-user workflows to any UI

***

### [-duck-lox-rs-](https://github.com/wildduck2/-duck-lox-rs-) (STILL IN DEVELOPMENT)

**Lox Language Interpreter in Rust**

A tree-walk interpreter implementation of the Lox programming language:

* Built following "Crafting Interpreters" principles
* Demonstrates Rust's capabilities in language implementation
* Clean, educational codebase

**Tech Stack:** Rust

***

### [@ahmedayob/email-toolkit](https://github.com/wildduck2/email-toolkit)

**MIME Message Builder Library**

A TypeScript library for building and manipulating MIME messages:

* Easy-to-use API for creating and encoding MIME content
* Ideal for email and internet-based communication systems
* Type-safe implementation

**Tech Stack:** TypeScript

***

## Philosophy

I build tools that **reduce complexity** without sacrificing capability. Whether it's a zero-dependency component library, a crash-proof logging system, or an AI-powered operating system — the goal is always software that gets out of your way and lets you ship.

My work focuses on:

* **Performance:** Every millisecond matters in production
* **Developer Experience:** Great tools make great products possible
* **Type Safety:** Catching errors at compile time, not runtime
* **Open Source:** Sharing knowledge and building in public

***

*"Between the kernel and eBPF"  -  Building the future of developer tools and distributed systems.*