Liste des Groupes | Revenir à cl c |
Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>scott@slp53.sl.home (Scott Lurndal) writes:>
>>Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:>
>The convetional wisdom is the opposite, But here, conventional wisdom
fails. Because heaps are unlimited while stacks are not.
That's not actually true. The size of both are bounded, yes.
>
It's certainly possible (in POSIX, anyway) for the stack bounds
to be unlimited (given sufficient real memory and/or backing
store) and the heap size to be bounded. See 'setrlimit'.
The sizes of both heaps and stacks are bounded, because
pointers have a fixed number of bits. Certainly these
sizes can be very very large, but they are not unbounded.
I was referring to the term of art used in POSIX, where
unlimited simply means that the operating system doesn't
limit them [.. elaboration ..]
Les messages affichés proviennent d'usenet.