r/AskComputerScience • • Jan 18 '26

Turing Machine

What is a Turing machine?? For so many classes they mention it and I have the main idea of what it is but I cannot find a definition that I totally understand. Does anyone have a definition that anyone can understand?

0 Upvotes

17 comments sorted by

View all comments

Show parent comment

2

u/tehclanijoski Jan 18 '26

If you can write a program in [your favorite language, barring a number of odd exceptions that may be your favorite for some reason], a Turing machine can execute the procedure you specified (probably quite slowly, if encoded in an obvious way).

1

u/donaldhobson Jan 27 '26

> barring a number of odd exceptions that may be your favorite for some reason

What exceptions?

Most, but not all, programming languages can be used to simulate a turing machine (except with time and memory limits). All of them can be simulated by a turing machine.