New slides about Go

Nick Sabalausky a at a.a
Thu Oct 14 15:36:33 PDT 2010


"Walter Bright" <newshound2 at digitalmars.com> wrote in message 
news:i97v5c$d1u$1 at digitalmars.com...
> bearophile wrote:
>> From page 40:
>>
>> Goroutines have "segmented stacks":
>>    go f()
>> starts f() executing concurrently on a new (small) stack.
>> Stack grows and shrinks as needed.
>> No programmer concern about stack size.
>> No possibility for stack overflow.
>> A couple of instructions of overhead on each function call, a huge 
>> improvement in simplicity and expressiveness.
>
> There's a huge cost to it, however. You can't call C code directly 
> anymore.
>
> Anyhow, this problem simply goes away with 64 bits.

Which is incredibly helpful on 32-bit systems.




More information about the Digitalmars-d mailing list