LWN.net Logo

Remote root hole in Samba

Remote root hole in Samba

Posted Apr 11, 2012 21:20 UTC (Wed) by lopgok (guest, #43164)
In reply to: Remote root hole in Samba by khim
Parent article: Remote root hole in Samba

So what percentage of google is written in C/C++ ?
I have heard it is mostly java, python, and C/C++ in third place.
Notice that java and python have
1) bounds checked arrays
2) memory management

I don't think that google is a startup anymore.

According to you, they should write everything in C/C++ because it is easier to find people who already know it.

I believe that gmail is all python...


(Log in to post comments)

Remote root hole in Samba

Posted Apr 11, 2012 22:36 UTC (Wed) by khim (subscriber, #9252) [Link]

So what percentage of google is written in C/C++ ?

A lot. I'm not sure I can disclose the precise numbers, but most performance-critical pieces (such as search or ads where every saved millisecond can be translated directly to revenue) are written in C++.

I have heard it is mostly java, python, and C/C++ in third place.

Nope. Python was never used for anything “heavy”. It think the heaviest python-based application is still Mondrian. Python is used for monitoring, for creation of reports, that kind of stuff.

When Google was startup it created plethora of languages (things like Sawzall), and new DSLs are introduced from time to time, but the main pillars are still C++ and Java.

I don't think that google is a startup anymore.

Yup. That's why it uses industry-standard languages now.

According to you, they should write everything in C/C++ because it is easier to find people who already know it.

Bingo! They do! Of course Java is even more popular thus less performance-critical pieces are written in Java.

I believe that gmail is all python...

Well, the last time I've worked with GMail codebase was about three years ago and it was C++ backend and Java (and obviously JavaScript) in frontend. I know they did extensive redesign after that time so I'm not fully sure about the current split between Java and C++, but no, python was never under consideration. Beyond monitoring and report tools, that is.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds