I wrote an operating system in Swift. It serves its own website: swiftos.tech.
Software engineer in Barcelona. I build AI tooling in Swift, because AI doesn't have to speak Python, and I write books that explain hard things (LLMs, quantum computing) to programmers, with code that runs.
142★ on the OS · two books, on LLMs and on quantum computing · two HackerNoon top stories
- See it: swiftos.tech is nginx on my own kernel and my own TCP/IP stack, on a bare Hetzner ARM VM. Not QEMU, not a container. The story: This Website Is Served by an OS Written in Swift.
- Read the argument: Why the AI Industry Still Pays a "Python Tax".
- Try something: draw a quantum circuit or train a neural network in the browser. No install.
How LLMs Work: From Zero to Your Own Transformer Tokens, embeddings, attention and training, built up from nothing. Every example is runnable Swift tested on a Mac, not pseudocode. EN: Kindle · paperback · Google Play | ES: amazon.com · amazon.es | Code: EN · ES · RU
Not Faster, Just Different Quantum computing for programmers: how a quantum computer really works, and when you don't need one. No physics degree, no mysticism. The code runs on a laptop, then on a real IBM quantum processor, and the book ends with a quantum simulator written from scratch in Swift. EN: Amazon | ES: amazon.es · amazon.com | RU: Google Play | Code: EN · ES · RU Companion: quantum-visual-sim, a circuit simulator where amplitudes are arrows that split, turn and cancel. 1–8 qubits, Bloch sphere, export to Qiskit and OpenQASM 3.
| Project | What it is |
|---|---|
| swift-os | An OS from scratch in Embedded Swift for 64-bit ARM. MMU-isolated processes, SMP, a pure-Swift TCP/IP stack with TLS, sshd. Runs nginx over HTTPS and Node.js 24 with npm, boots on real hardware. A learning project, not production. |
| swift-extract | Instructor for Swift. Declare a type, point it at a PDF, photo or text, get back a typed, validated instance. Any LLM: Apple Intelligence, MLX, llama.cpp, OpenAI, Anthropic, Gemini. |
| swift-adapt | On-device LoRA personalization for iOS and macOS. Trains an adapter locally and promotes it only if it passes a statistical test against the current one. 100 steps on Qwen3-4B in 15 s on an M5 Pro. Openly unfinished. |
| swift-language-models | A textbook you can run: n-gram, hand-built autograd, a GPT on MLX, then RAG. Companion to the LLM book. |
| NeuralBASIC | Learn neural networks by poking them in the browser. Live decision boundaries, five chapters, a Socratic AI tutor that never pastes the answer. |
- This Website Is Served by an OS Written in Swift
- Why the AI Industry Still Pays a "Python Tax" (HackerNoon top story; in Russian on Habr)
- How Modern Voice-to-Voice AI Models Work (HackerNoon top story; code in EN · RU)
- TabletBasic (source): a QuickBASIC 4.5-style IDE for iPhone, iPad and Mac, with a BASIC interpreter written from scratch in Swift.
- Voice Agent Builder: the product side of the voice-to-voice article.
- DosMac: a native home for DOS software on Mac and iPhone. Early dev preview.
- Everything else: App Store · Google Play
By day I'm a software engineer at Cledara.
Questions about SwiftOS, on-device models or either book? Write to me on LinkedIn.




