4 ms·
A machine with an infinite amount of RAM can have an infinite stack size.
by jsight 14y ago
A machine with an infinite amount of RAM can have an infinite stack size.
- fauigerzigerk 14y agoC arrays that live on the stack have to be created with a constant size (at least before C99). It's a limitation of the language regardless of any machine or stack size.
- Johngibb 14y agoIf we're going to grant that a machine can have infinite ram, surely we can grant that a spec of C can have infinite stack allocated arrays... :)
- deleted 14y ago[deleted]
- sp332 14y agoThat's already been granted in this argument. The question now is, given an infinite stack, is this programming style Turing-complete?