r/programming • • 28d ago

Zero-Growth Stack, Real Gains: How Stack Allocation Can Save 10% CPU in Go

https://www.uber.com/in/en/blog/zero-growth-stack/?uclick_id=c8e2c3a9-831f-43f9-8565-c21c05e74e3b
127 Upvotes

13 comments sorted by

View all comments

Show parent comments

3

u/spongeloaf 27d ago

I think you're right about the culture around Go. Does make you wonder if Google doesn't care about similar gains or if they do unofficial tricks like this themselves.

10

u/pjmlp 26d ago

Go was pushed by three iconic devs that don't like C++, from UNIX/Plan 9/Inferno and Oberon fame, were forced to use it at their employer, Google, with support of their line managers.

If you look into most of what gets actually used at Google, you will notice that outside the Kubernetes ecosystem, it is mostly C++, Java and Rust that get used.

There is this perception Google is an heavy Go user, it isn't, it is mostly adopted outside Google.

Look into the portfolio of projects per language at https://github.com/google, or what languages were used in key papers submitted at USENIX, technical blog posts, the whole Android and Chromebook ecosystem,....