profile

From Scratch Code

Unlock the power of Rust and Python by mastering advanced concepts to build code that demonstrates your expertise and creativity. Offering mentorship and courses to help you create complex libraries, systems, and real-world tools from scratch—all in a supportive and sometimes silly environment.

Featured Post

An interpreter inside an interpreter

From Scratch Code Helping you master Rust and Python, from scratch. A few months into development, I decided my north star for Memphis would be to run a Flask server entirely within my interpreter. I had no idea how much work this would entail, only that it sounded cool and would probably teach me a lot along the way. If I were making this goal today, I may pick FastAPI or nothing at all because that was silly of me. Python stdlib A big decision I encountered was how to deal with the Python...

From Scratch Code Helping you master Rust and Python, from scratch. I’m currently exploring two interesting topics for Memphis, my Python interpreter in Rust: building for WebAssembly and embedding CPython. With no major milestones to report this week, I thought I’d share some in-progress thoughts. For me, Memphis is been a project for expanding my conceptual understanding through practical experiments—hopefully, this post can do the same for you as we walk through some of the design...

From Scratch Code Helping you master Rust and Python, from scratch. THE BIG CITY—From Scratch Enterprises LLC (ticker: FSEL) announced its newest venture Monday, From Scratch Code (ticker: FSC). Members of the media gathered around the folding chair of its owlish founder, Jones Beach. Refreshments were not provided. Whispers circulated among the media contingent that this was the same desk which produced the not-a-non-profit, From Scratch dot org (ticker: FSdo). The representative present...

From Scratch Code Helping you master Rust and Python, from scratch. My Python interpreter, Memphis, has a REPL (read-eval-print loop)! This is old news. As long as you made zero mistakes while interacting with the wise old owl 🦉, you could interpret to your heart’s content. Assuming you never wanted to evaluate the same statement twice, or if you did, didn’t mind retyping it. Also with zero mistakes. old news I was perfectly content with this REPL. Thrilled even. I had written home about this...

From Scratch Code It's like code, but from scratch. Take a quick glance at the code snippet below. Without thinking too hard, is get a function or a method? How about post? What did you decide: is get a function or a method? It appears to be both! And the same with post! If you are familiar with API development in Rust, you may recognize this syntax from Axum. This puzzling question piqued my curiosity and led me to build Cairo, where I re-implemented some key Axum concepts in a simpler way...