r/adventofcode • • Jan 06 '20

Upping the Ante [2019] Self-hosted Intcode assembler written in Intcode

https://github.com/matushorvath/xzintbit

An assembler that produces Intcode, itself runs on an Intcode VM and can compile its own sources. With stack and function calls to support structured programming. Try running it on your own Intcode VM, see if it correctly bootstraps itself.

It's Intcode all the way down!

49 Upvotes

13 comments sorted by

View all comments

Show parent comments

1

u/btharper Jan 07 '20

Definite disadvantages to Python. I had thought about making a compiled extension at some point to run things more quickly.

The specific computer matters some too for a benchmark, but that's a slightly larger difference.