RfD Local buffers v4 long
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 51 articles for 0.013 sec
Re: RfD - Local buffers, v4 (long)     

Group: comp.lang.forth · Group Profile · Search for RfD Local buffers v4 long in comp.lang.forth
Author: Guido Draheim
Date: Sep 10, 2008 20:18

...proposal is about local buffers. Stephen RfD - Local buffers, v4 ======================= Stephen Pelc -... with LocalsExt4.txt. 20070914 Split local buffers to a separate proposal. ... a frequent need for temporary buffers. This proposal is an extension to the extended locals proposal, on which this proposal ... return stack (where the other locals live as well). It actually ...
Show full article (1.44Kb) · Show article thread
RfD - Local buffers, v4 (long)     

Group: comp.lang.forth · Group Profile · Search for RfD Local buffers v4 long in comp.lang.forth
Author: Stephen Pelc
Date: Aug 11, 2008 05:57

...is about local buffers. Stephen RfD - Local buffers, v4 ======================= Stephen Pelc...the notation like this facility. Local arguments and values return their...13.6.2.xxxx { brace LOCAL EXT Interpretation: Interpretation semantics for...lvn" -- ) Create up to eight local arguments by repeatedly skipping leading...data stack. When invoked, each local argument will return its value...
Show full article (8.44Kb)
Finalizers [was: Re: RfD - Local buffers, v4 (long)]     

Group: comp.lang.forth · Group Profile · Search for RfD Local buffers v4 long in comp.lang.forth
Author: Andrew Haley
Date: Aug 18, 2008 03:24

... a Forth system could be extended to add generic hooks to the word exit. This would allow allocating "local" buffers with ALLOCATE, keeping them chained with some hidden pointers, so that they are all FREEd when the word exits. It seems simple enough to locally override EXIT and ; (the override for ; is needed because it adds an implicit...
Show full article (1.32Kb) · Show article thread
Re: RfD - Local buffers, v4 (long)     

Group: comp.lang.forth · Group Profile · Search for RfD Local buffers v4 long in comp.lang.forth
Author: Bruce McFarling
Date: Aug 17, 2008 15:01

... thinking about the allocation of, say, a 200 kB buffer. Page granularity is somewhat coarse, but it gets finer...> extended to add generic hooks to the word exit. This would allow allocating "local" buffers with ALLOCATE, keeping them chained with some hidden pointers, so that they are all ... the word exits. It seems simple enough to locally override EXIT and ; (the override for ; is...
Show full article (1.98Kb) · Show article thread
Re: RfD - Local buffers, v4 (long)     

Group: comp.lang.forth · Group Profile · Search for RfD Local buffers v4 long in comp.lang.forth
Author: Thomas Pornin
Date: Aug 15, 2008 07:17

... thinking about the allocation of, say, a 200 kB buffer. Page granularity is somewhat coarse, but it gets finer... be extended to add generic hooks to the word exit. This would allow allocating "local" buffers with ALLOCATE, keeping them chained with some hidden pointers, so that they are all ... the word exits. It seems simple enough to locally override EXIT and ; (the override for ; is needed...
Show full article (1.49Kb) · Show article thread
Re: RfD - Local buffers, v4 (long)     

Group: comp.lang.forth · Group Profile · Search for RfD Local buffers v4 long in comp.lang.forth
Author: Andrew Haley
Date: Aug 15, 2008 05:09

...process accesses the page. If I allocate a large buffer but use only 10%% of it, then only these... consumed. No, that's wrong. For every 20 byte buffer for (say) a filename, you would be allocating MAXPATHLEN bytes...> of what happens to C). I agree with all of that. Here, variable-size local buffers are added to the C language. If alloca() was widely implemented and used for that...
Show full article (1.98Kb) · Show article thread
Re: RfD - Local buffers, v4 (long)     

Group: comp.lang.forth · Group Profile · Search for RfD Local buffers v4 long in comp.lang.forth
Author: Thomas Pornin
Date: Aug 15, 2008 02:51

... If I allocate a large buffer but use only 10%% of ... world who used variable-size local buffers had to call alloca... that everyone used variable-size local buffers. Well, everyone who wanted ...to C++. Because when people want "local buffers", they actually want...and would allow automatically-released buffers which would nonetheless be heap...to C). Here, variable-size local buffers are added to the...
Show full article (2.70Kb) · Show article thread
Re: RfD - Local buffers, v4 (long)     

Group: comp.lang.forth · Group Profile · Search for RfD Local buffers v4 long in comp.lang.forth
Author: Andrew Haley
Date: Aug 15, 2008 02:25

... you can just use a fixed-size buffer with that maximum size. And if you... least, everyone in the UNIX world -- used alloca() for variable-size local buffers. Since I have programmed in the...the UNIX world who used variable-size local buffers had to call alloca(). I ...to say that everyone used variable-size local buffers. Not every task needs them. VLA is more or less equivalent ...
Show full article (2.41Kb) · Show article thread
Re: RfD - Local buffers, v4 (long)     

Group: comp.lang.forth · Group Profile · Search for RfD Local buffers v4 long in comp.lang.forth
Author: Anton Ertl
Date: Aug 14, 2008 13:34

George Hubert <georgeahubert@yahoo.co.uk> writes: Are the addresses of local buffers cell aligned Very good point. I suggest that they should be aligned for all purposes (if we had agreed on a struct package that provides information on the alignment of structures, we could have used that, but since we have not, we have to assume the worst). - ...
Show full article (0.61Kb) · Show article thread
Re: RfD - Local buffers, v4 (long)     

Group: comp.lang.forth · Group Profile · Search for RfD Local buffers v4 long in comp.lang.forth
Author: George Hubert
Date: Aug 14, 2008 13:26

...stephen...@mpeforth.com (Stephen Pelc) wrote: Local buffers are declared in the form...of the storage in address units. Local argument run-time: ( x1 ... xn --...run-time: ( -- ) Initialise up to eight local arguments from the data stack. ...the data stack. When invoked, each local argument will return its value.... are undefined. When invoked, each local value returns its value. The ...
Show full article (1.31Kb) · Show article thread
1 · 2 · 3 · 4 · 5 · 6 · next