On 6 January 2014 17:18, Ben Kloosterman <[email protected]> wrote: > On Mon, Jan 6, 2014 at 5:24 AM, Jonathan S. Shapiro <[email protected]> > wrote: >> >> On Sat, Jan 4, 2014 at 9:23 PM, Ben Kloosterman <[email protected]> >> wrote: >>> >>> Also foreach typicaly throws exceptions ( collection modified while being >>> enumerated is very useful) , which are typically heap allocated ( they >>> possibly could be region but it gets messy fast ) . >> >> >> Exceptions don't need to be heap allocated and should not be. That's an >> implementation or a design bug, depending on your point of view. > > > I wouldnt call it a bug . Unwinding can get messy with Exceptions on the > stack especially the usefull out of stack exception.
OOM exceptions are usually statically allocated, out of necessary. -- William Leslie Notice: Likely much of this email is, by the nature of copyright, covered under copyright law. You absolutely may reproduce any part of it in accordance with the copyright law of the nation you are reading this in. Any attempt to deny you those rights would be illegal without prior contractual agreement. _______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
