On 29 October 2013 12:08, Niko Matsakis <n...@alum.mit.edu> wrote: > 1. I do think segmented stacks offer several tangible benefits: > > - Recursion limited only by available memory / address space
This is a weak argument. If one needs that much memory, then using an explicit stack is a must as it allows for significantly more compact memory presentation. > > 2. I think that our official semantics for stack overflow should be > task failure, not abort. Just for consideration, SpiderMonkey uses a lot of explicit stack depth checks , see http://mxr.mozilla.org/mozilla-central/ident?i=JS_CHECK_RECURSION&tree=mozilla-central&filter= It would be nice if Rust would allow to avoid them. And if aborting is the only good option for performance reasons then having an API to do those checks manually is a must to have. _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev