"Walter Bright" <[email protected]> wrote in message news:[email protected]... > 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.
