[concurrency-interest] Default Stack Size on 64-bit JVMs
martinrb at google.com
Wed Dec 2 23:44:47 EST 2015
On Wed, Dec 2, 2015 at 4:45 PM, Vitaly Davidovich <vitalyd at gmail.com> wrote:
>> 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 elsewhere,
>> 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 required
> 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.
More information about the Concurrency-interest