Re: Pre-Scheme static allocation
Thomas Hintz <[email protected]> Thu, 05 Nov 2015 22:30:13 -0800
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <1446791413.4139401.430754737.5ED5A7A9@webmail.messagingengine.com> |
On Thu, Oct 29, 2015, at 11:54 PM, Michael Sperber wrote: > > Thomas Hintz <[email protected]> writes: > > > What do you mean by a 'regular buffer'? Do you mean like 'make-string'? > > If so, is there another way to do something like that besides using > > make-string, make-vector, or allocate-memory? Those appear to always use > > a form of 'alloc' which ideally I wouldn't have to rely on. Or am I > > missing something entirely? > > Ah, I'm beginning to understand: There's no way to allocate a writeable > buffer "on the stack" in PreScheme - Scheme has no way to restrict the > extent of that buffer. Sorry ... Ah, that makes total sense. Thanks very much for the help.