Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kam
· 1y ago · 0 comments
No, compression formats are not Turing-complete. You control the code interpreting the compressed stream and allocating the memory, writing the output, etc. based on what it sees there and can simply choose to return an error after writing N bytes.
Comments
[–]
eru
1y ago
Yes, and even if they were Turing complete, you could still run your Turing-machine-equivalent for n steps only before bailing.