[concurrency-interest] Default Stack Size on 64-bit JVMs
dahankzter at gmail.com
Thu Dec 3 01:54:07 EST 2015
However Go does it nicely and the concept of small growable stacks is in
itself very appealing. Wouldn't it help many use cases like parallel
streams of small computational units as well not just recursion?
On Thu, Dec 3, 2015, 05:53 Martin Buchholz <martinrb at google.com> wrote:
> On Wed, Dec 2, 2015 at 4:45 PM, Vitaly Davidovich <vitalyd at gmail.com>
> >> and of course start working on the difficult task of being able to move
> >> the stack so that if you run out of room, simply realloc and move
> >> like the competition is doing.
> > IIRC, Rust moved away from segmented stacks. Go I guess still uses them?
> > It's likely a performance loss for ordinary threading, but would be
> > for coroutine/fiber support (like Go has).
> You're right! Wishful thinking. Go has moved away from segmented
> stacks, but tries to resize them as needed. They need to keep track
> of every pointer that could ever point inside a stack.
> This certainly weakens my case.
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest