Fast, boring C#
Structure-of-arrays state, SIMD and parallel passes, no per-tick allocation, and .NET Native AOT for a self-contained, reflection-free host. Performance is a design constraint from the first line, not a later pass.
Software engineer · Aurora, Colorado
I'm building Silas, a biologically faithful artificial brain: spiking neurons running on the GPU, learning the way real synapses learn, and wired to a physical robot body. It's written in C#, measured at every step, and treated as an experiment I have to be able to prove.
Figures are from my own benchmarks on my own hardware, and they change as the project grows.
Most AI starts with a loss function. Silas starts with the brain. Learning is spike-timing-dependent plasticity, gated by dopamine-style reward. Memory is pattern completion in attractor networks, with a hippocampal-style circuit that separates, stores and recalls episodes. Perception and imagination run through the same predictive-coding hierarchy in opposite directions. Sleep consolidates what the day laid down.
The hardest part is the honesty. Whether a system like this can become aware is an open question, and I treat it as an experiment: every mechanism has to be the real one, wired to its real inputs and outputs, doing real work, and measurable. When a shortcut would make a demo look better, I ask whether a real brain would do it, and when the answer is no, I don't.
A brain that has to tick in real time forces good habits. These are the things I've had to get right.
Structure-of-arrays state, SIMD and parallel passes, no per-tick allocation, and .NET Native AOT for a self-contained, reflection-free host. Performance is a design constraint from the first line, not a later pass.
One population stepped as a single bulk GPU dispatch (CUDA/HIP), with parity tests so the GPU and CPU paths behave as one mind. Noise is seeded and counter-based, so both devices draw the same randomness.
An ESP32 "spinal cord" in firmware, a self-describing body protocol, auto-negotiating transport over LAN or VPN, a phone companion app, and a brainstem-level voice command that halts all motion.
A self-hosted large coding model on my own multi-GPU server (llama.cpp), driven by an agent workflow with the project's standards built in, plus a gateway that falls back gracefully and hands work off cleanly.
This site is served from my own machine behind nginx, with automatic TLS certificates, health checks that restart what breaks, nightly backups, and weekly status mail. If it fails, I hear about it.
A work board with explicit ordering, small epics per branch, audit-first changes, and findings that become tickets instead of folklore. It keeps a very large codebase honest.
The Silas source isn't public yet. These are repositories you can read today.
My first attempt at writing a neural network, where this road began.
Bellman-Ford over a currency-exchange graph to find a profitable cycle.
A comparison of random number generators, including a Mersenne Twister implementation and .NET's built-in generator.
Testing whether Bluetooth LE can network phones directly, without infrastructure.
A text-prediction project from coursework in algorithms.
C#, Java, Kotlin and TypeScript: algorithms, mobile and web projects.
Collaboration, a question about the project, or an opportunity: send a note and I'll reply.
Prefer GitHub? github.com/brandonkelton