Go's march to low-latency GC

Patrick Schluter via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 11 06:13:02 PDT 2016


On Monday, 11 July 2016 at 12:21:04 UTC, Sergey Podobry wrote:
> On Monday, 11 July 2016 at 11:23:26 UTC, Dicebot wrote:
>> On Sunday, 10 July 2016 at 19:49:11 UTC, Sergey Podobry wrote:
>>>
>>> Remember that virtual address space is limited on 32-bit 
>>> platforms. Thus spawning 2000 threads 1 MB stack each will 
>>> occupy all available VA space and you'll get an allocation 
>>> failure (even if the real memory usage is low).
>>
>> Sorry, but someone who tries to run highly concurrent server 
>> software with thousands of fibers on 32-bit platform is quite 
>> unwise and there is no point in taking such use case into 
>> account. 32-bit has its own niche with different kinds of 
>> concerns.
>
> Agreed. I don't know why golang guys bother about it.

Because of attitudes like shown in that thread
https://forum.dlang.org/post/ilbmfvywzktilhskpeoh@forum.dlang.org
people who do not really understand why 32 bit systems are a 
really problematic even if the apps don't use more than 2 GiB of 
memory.

Here's Linus Torvalds classic rant about 64 bit
https://cl4ssic4l.wordpress.com/2011/05/24/linus-torvalds-about-pae/  (it's more about PAE but the reasons why 64 bits is a good thing in general are the same: address space!)


More information about the Digitalmars-d mailing list