How to "sleep" in the program Brainf_ck?

Is it really possible to make a Brainfuck code / program for "sleep", say, x seconds or similar?

Of course, looping a large number until it drops to 0 now cannot be, can it? This would probably not be truly reliable or consistent.

+4
source share
1 answer

No, there is no such operator, and there is no way to reliably delay the program, given the many interpreters (and the corresponding performance statistics). However, you might be interested in some different, but similar languages ​​that have the ability to sleep:

+2
source

Source: https://habr.com/ru/post/1649660/


All Articles