Re:Two years of production Go at CloudFlare
by halayli on Monday November 11, 2013 @10:09PM
(#6715614)
of course it does, but it does it in a way that aims to provide an overall good performance for all apps. But it doesn't mean that's the best performance you can get.
[ Parent
| on HN ]
Re:Two years of production Go at CloudFlare
by halayli on Monday November 11, 2013 @10:32PM
(#6715687)
C doesn't control memory. brk() does. There are various malloc libraries out there to improve the way malloc manages memory.
But ideally you don't want to allocate memory at all. You want to have memory preallocated and preferably accessing a page that's still in cache. You can control memory pages in C because it doesn't manage that for you.