4 ms·
To me it looks like Google essentially is moving everything to Go, and this project is to help with it. They port their python libraries so they can reference
by takeda 10y ago
To me it looks like Google essentially is moving everything to Go, and this project is to help with it.
They port their python libraries so they can reference them from their Go code, and then module by module will rewrite it in pure Go.
- vram22 10y ago>To me it looks like Google essentially is moving everything to Go, and this project is to help with it. Interesting - first time I have heard such an opinion. Why do you think it may be so? One reason I can think of, is they get more control over the languages they use.
- takeda 10y agoThe Go seems to be developed for their needs (well it's coming from them). It's simple to learn, it's very opinionated, how code is stored, how it is formatted etc. It seems perfect for a company that gets a lot of college graduates. Now with Python, they still seem to stick to Python 2.7 and don't show any effort to move. TensorFlow was released for Python 2.7 and only later Python 3 support was added. Grumpy is for Python 2.7 and first issue opened asking about Python 3 support was closed with change in documentation that only Python 2.7 is supported. To me it seems like they wouldn't stick to Python 2.7 if they were planning on continuing using Python. It seems like it coincides with deprecating Python 2 in 2020.
- djm_ 10y ago>Google essentially is moving everything to Go ...[snip]... and then module by module will rewrite it in pure Go. I can see this happening for some core modules sure, but I think you've underestimated the work required to convert the sheer amount of Python code at Google. There is a tool inside Google which graphs the number of lines of each language in Piper; I don't think I can quote numbers from my time there but it would be no small feat, even for Google.