Re: Impossible Database Design?
Date: Sun, 6 Oct 2013 20:59:16 -0700 (PDT)
Message-ID: <a8917a11-15b6-419d-ad09-57cd478b039f_at_googlegroups.com>
On Monday, September 30, 2013 11:37:06 AM UTC+8, Derek Asirvadem wrote:
On Wednesday, 17 May 2006 07:41:32 UTC+10, Nikolai Onken wrote:
[snip]
I was prompted to read that "Impossible Database Design?" thread from 7 years ago, and found something Bob Badour said which was unchallenged at the time. Better late than never I guess...
> With all due respect, inifinite is about capacity and the impossibility
Actual memory usage of a real computer is typically a global dynamic property over multiple processes which is quite unpredictable and largely irrelevant to the design and implementation of general purpose data structures and algorithms. Of course well written programs try to avoid excessive memory usage, and that normally means both finite and infinite data types are appropriate in its design. I would say programmers mostly reason about the execution of their programs on an abstract machine with unlimited memory (whether they realise it or not).
The Turing machine with its infinite tape captures our intuition of what it means to be computable. Some people think the infinite tape is available to be fully used in some sense, but actually computable functions have to terminate after a finite number of steps for each input which means only a finite amount of tape is ever used. The infinite tape just ensures it doesn't run out before it would otherwise have terminated.
TTM has a prescription that all types are finite. I find that completely unreasonable (baffling really). I discussed this on TTM mailing list and people were divided on the issue.
David Received on Mon Oct 07 2013 - 05:59:16 CEST