News for hackers. Stuff that matters.
Re:Google lays off its Python team by nytecode on Saturday April 27, 2024 @03:14PM (#40182598)
Python is only used for prototyping within google. All production ai code is run on c++
Re:Google lays off its Python team by mihai_maruseac on Saturday April 27, 2024 @03:56PM (#40182940)
Yes, production code is C++, but the way the models are built is Python code, colab, save via Orbax/TF SavedModel, etc and then serve in C++. All (most, to hedge it) development is done via Python.

I don't directly develop the models, I played with some for fuzzing [1] and I'm working on security for them [2]. And, before joining GOSST, I was leading the OSS DevInfra team in TF. I still have the most number of commits made by a human [3] even after 2 days of leaving the team, though I see the next person only needs 4 more :)

[1]: https://security.googleblog.com/2023/08/ai-powered-fuzzing-b... [2]: https://security.googleblog.com/2023/10/increasing-transpare... [3]: https://github.com/tensorflow/tensorflow/graphs/contributors

Re:Google lays off its Python team by brutus1213 on Sunday April 28, 2024 @11:17PM (#40194072)
Hello! Can I ask you for some random career advice? I am mid-career, in a low-level mgmt position but want to return to being an IC. My team's tech stack is Python and Kotlin, but in my position I don't get to code. I code for fun at home but it gravitates towards Python (as it is highly relevant for doing Deep Learning work). My question is if I ever go into a backend role, what language best lets me get into a deep tech position at a MANG. With Python's limited use in production in MANGS, I don't see how I'll pass the Leetcode coding interviews. I used to do distributed systems a long time ago and really miss it (Did professional work in C,C++, Java, Go and Erlang/Elixir but it has been a while). I have a child now that takes up a lot of time, so I can't invest in getting good (again) in too many languages. I also have generally bad memory (remembering all the functions in std lib in Java or STL in C++ is just impossible anymore). I generally love coding but my algorithms are pretty rusty too. Advice on how to pick a darn tech stack? Thank you.
Re:Google lays off its Python team by otteromkram on Monday April 29, 2024 @02:54AM (#40195303)
VBA.

Good luck!

Re:Google lays off its Python team by zenlikethat on Wednesday May 01, 2024 @12:13AM (#40219440)
It's not language, it's experience, network, and having a differentiator that makes potential employers say, "Wow, we need to hire brutus1213 for our team because they have a really unique skill at <X>!" (X could be Kubernetes, deep learning, Erlang, whatever... the more uncommon, the better though.)

To that end, focus heavily on whatever exists in the vertex of what you're good at (which did you like and excel at of those things you did?) and a growth area (example: Python, C++ and the multitudinous ways they continue to be used together in AI etc).

So you have to look at what existing leverage you have and build upon that foundation. It will be very difficult to get a role without getting some hands on experience back first, so where I'd start is, could you step down to become IC at your current job? I'd be more interested to evaluate a candidate doing Python/Kotlin that wants to move into something adjacent than someone in management who just wants to be a dev again.

Re:Google lays off its Python team by thatguysaguy on Saturday April 27, 2024 @03:28PM (#40182691)
That is quite the claim, any source?

Edit: I guess I'm not sure on whether large training runs count as prod or not. They're certainly expensive and mission critical.

Re:Google lays off its Python team by JSDevOps on Saturday April 27, 2024 @03:34PM (#40182750)
Ask anyone who’s worked in the industry who’s for more than 5 minutes and who’s knowledge isn’t coming from a Python Bootcamp
Re:Google lays off its Python team by thatguysaguy on Saturday April 27, 2024 @03:41PM (#40182799)
I have worked on a team which trains foundation models
Re:Google lays off its Python team by JSDevOps on Saturday April 27, 2024 @03:47PM (#40182857)
And no one’s used anything other than Python? The core of Tensorflow uses C++
Re:Google lays off its Python team by dekhn on Saturday April 27, 2024 @04:43PM (#40183328)
Many parts of tensorflow required Python- at least when I worked there a few years ago, it was nearly impossible to compile XLA into a saved model and execute it from pure C++ code.
Re:Google lays off its Python team by thatguysaguy on Saturday April 27, 2024 @03:52PM (#40182894)
The claim was that Python is only used for prototyping at Google, not that people are writing the AI frameworks themselves in pure Python.

JAX is obviously implemented in C++, but the scientists running the training runs which cost millions of dollars are writing lots of python.

Re:Google lays off its Python team by mihai_maruseac on Saturday April 27, 2024 @03:57PM (#40182947)
Re:Google lays off its Python team by twobitshifter on Sunday April 28, 2024 @03:32PM (#40191166)
Even still, the need to prototype does not go away.
Re:Google lays off its Python team by aleaxit on Monday April 29, 2024 @12:00AM (#40194266)
I retired (after 18+ years at Google) last August, and as of that date A LOT of production code used languages different from C++ -- Go, Java, Kotlin, AND Python, plus a few more (Rust, Dart, and many others). In my successful, long career at Google I did use C++ (I had "readability" in C++), but rarely: only when "ridiculous scalability" was needed.

For example, collecting Stackoverflow posts about GCP products, and distributing the needed subsets of them among vendors and employees in tech support to potentially answer, comment, edit, vote on, re-tag, &c, used to be all Python (and the "scale" was a few hundred or thousands of posts and people at a time -- ridiculously small "by Google `production` standards", and perfectly adequate for the much-higher-programmer-productivity Python has always afforded... I know, because I did the vast majority of that coding, including maintenance, ongoing monitoring of performance, and VERY occasional optimizations if and when monitoring showed them to be desirable).

That was the core of my job for my last several years at Google -- I won't even list the many other NON-prototyping tasks I did in previous years (decades, almost), the vast majority of them in Python. And -- the majority of my performance reviews during those 18+ years were rated "exceeds expectations", so it seems that world-class Python skill (which clearly was crucial to me getting a hiring offer back in 2004, though, alas, visa issues delayed my start to early 2005) were extremely useful for at least some of us Google engineers.

Alex