3 ms·
Google has a completely different culture from the open source community when it comes to stack. Many FOSS programmers assume an 8mb stack due to a belief that
by jart 6y ago
Google has a completely different culture from the open source community when it comes to stack. Many FOSS programmers assume an 8mb stack due to a belief that malloc() is slow. Google built all its production services under the assumption of a 64kb stack, because they found a way to make malloc() go fast and wanted to have lots of threads. So it shouldn't be scary or unexpected that there's a little bit of friction bringing those two worldviews in harmony. Google was nice enough to open source tcmalloc.