{"by":"jekude","descendants":14,"id":37548095,"kids":[37581295,37583088,37582081,37568906],"score":63,"text":"Hey HN!<p>I&#x27;ve been curious about the history of computer science and decided to try to read Turing&#x27;s 1936 paper where he conceptualizes the Turing Machine, etc.<p>I had trouble understanding the paper, read The Annotated Turing by Charles Petzold (which is wonderful), but felt that reading a reference implementation would help formalize my understanding. When I couldn&#x27;t find an open source implementation, I decided to write my own.<p>The implementation includes:<p><pre><code>  - Abbreviated tables (m-functions)\n  - Conversions to Standard Descriptions and Description Numbers\n  - A working universal machine\n  - A walkthrough of the paper section-by-section in the context of the codebase\n</code></pre>\nI&#x27;m still working on sections 8-11 (the math&#x2F;logic is a bit difficult for me) - if you understand these sections well enough to explain, I&#x27;d love to talk to you!<p>In general I am interested in new mediums for learning source material (web annotations, walkthroughs, reference implementations, etc.), and was inspired by Karpathy&#x27;s Zero to Hero course in particular for this project.","time":1694976129,"title":"Show HN: A reference implementation of Turing's paper “On Computable Numbers”","type":"story","url":"https://github.com/planetlambert/turing"}