On Thu, Jul 4, 2013 at 3:52 PM, Matthieu Monrocq <[email protected]> wrote: > > You are here assuming that one will not create many schedulers, which the > current design allows. > > (Not necessarily a bad idea, per se, just wanted to point out a possible new > limitation) > > -- Matthieu
You can create many threads with fixed stacks, they just start off using 4K instead of however much smaller our segmented stacks will be. A scheduler will just be more expensive than a regular lightweight task. The 15-100% performance hit from segmented stacks pushes Rust well out of the systems language niche. I think it does have to change if Rust plans on ever fitting in the niche that C, C++ and D do. _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
