Skip to Content
Strange Code
book

Strange Code

by Ronald T. Kneusel
September 2022
Intermediate to advanced
496 pages
12h 32m
English
No Starch Press
Content preview from Strange Code

8FRACTRAN

Image

John Conway (1937–2020) was a British mathematician, most famous to the general public for his Game of Life (see https://playgameoflife.com/), but equally famous to his fellow mathematicians for his many contributions to a wide variety of mathematical disciplines. In this chapter, we’ll examine another of Conway’s contributions, one that isn’t as well known as his Game of Life, but is perfect for our purposes: FRACTRAN. We’ll start with the specification of FRACTRAN, build it, and, lastly, use it to implement basic programs for addition, subtraction, and multiplication, among other tasks. After that, we’ll end with a discussion, like ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Good Code, Bad Code

Good Code, Bad Code

Tom Long
Street Coder

Street Coder

Sedat Kapanoglu

Publisher Resources

ISBN: 9781098141363