r/computerscience • u/RicotaSuicida • 6h ago
A question about Turing Machines
I have a question that popped in my mind about Turing Machines and the Busy Beaver function.
So, from the knowledge I have, programming languages are Turing complete, meaning they can do everything a Turing Machine can, which would mean that there is a way to translate a Turing Machine program to any Turing complete programming language, right?
Following from that, let's say we have a really simple program in any programming language that loops from 1 to 108 and do some computation inside that loop
Since the number of steps this program takes is higher than 107, does it mean it can't be translated to a 4 states 2 symbol machine, since BB(4) is 107?
How does the translation from a simple loop with N steps work?