gregorni

gregorni

0-day streak
I just noticed the brainfuck interpreter in Crystal I coded up for the arcade tutorial is functional, so why not put it up for review: codeberg.org/gregorni/crystalfuck
https://imgutil.s3.us-east-2.amazonaws.com/8cc3e55059113b52fd4875653c22ad8a7a61c865a2e451daa913807ba9516ea3/469735aa-98e0-47e5-ae19-57dc30302ec6.png
summer-of-making emoji
https://imgutil.s3.us-east-2.amazonaws.com/8cc3e55059113b52fd4875653c22ad8a7a61c865a2e451daa913807ba9516ea3/5d0ea101-591e-4558-ab4b-1ce1869630b6.png
I wrote a brainfuck interpreter in Go: codeberg.org/gregorni/gofuck This interpreter is incredibly simple and simply evaluates one character after another. This means it takes a long time to execute more complex brainfuck programs. I went on to write an optimizing interpreter that evaluates all code before running it. This means it is substantially faster. codeberg.org/gregorni/gofuck-optimized In the demo video I compare the normal interpreter against the optimized one.
https://imgutil.s3.us-east-2.amazonaws.com/8cc3e55059113b52fd4875653c22ad8a7a61c865a2e451daa913807ba9516ea3/17ac8ef9-a286-4d34-a8a1-a3a024f0a245.png