Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否真的可以让 Brainfuck 代码/程序“睡眠”例如 x 秒或类似时间?
肯定循环一个大数字直到它下降到 0 现在不可能,是吗?它可能不是真正可靠或一致的。
不,考虑到可用的解释器(以及相应的效率统计数据)过多,没有这样的操作员,也没有可靠地延迟程序的方法。但是,您可能对某些具有睡眠能力的不同但相似的语言感兴趣: