Acerca de Andrew S Erwin
Seguidores recientes
Publicaciones
You can read a hundred posts about how to write a text editor, but the shortest path to understanding one is to build it. A text editor is one of those programs that sounds intimidating until you see how much of it is just bookkeeping: a buffer of lines, a cursor, a screen, a set of keys. Once you name the data structures, the rest is plumbing. This tutorial builds a complete, working terminal tex...
Building a Text Editor in C
Sep 14, 2026
78 Visualizaciones
We are going to build Conway’s Game of Life in Rust, from an empty project to a grid that evolves on its own. It is one of the most satisfying things you can code in an afternoon: the rules fit in a paragraph, the implementation can be as simple or as fast as you like, and the patterns that crawl out of it have fascinated mathematicians for fifty years. If you want to actually play with Life whi...
Conway's Game of Life in Rust
Sep 10, 2026
75 Visualizaciones
Sudoku is one of those puzzles that feels like pure logic when you solve it by hand, and pure magic when a computer does it in milliseconds. The magic has a name: backtracking . It is a general search technique that tries a candidate, and when the candidate leads nowhere, it takes the candidate back and tries the next one. This post walks through a complete Python solver from scratch, step by step...
Solving Sudoku with Backtracking in Python
Sep 09, 2026
11 Visualizaciones

