Google Boosts Python By Turning It Into Go

An anonymous reader quotes InfoWorld:
Grumpy, an experimental project from Google, transpiles Python code into Go, allowing Python programs to be compiled and run as static binaries using the Go toolchain… In a blog post announcing the open source release, Google stated the project stemmed from its efforts to speed up the Python-powered front end for YouTube. But Google hit an obstacle that’s familiar to folks who’ve deployed Python in production: It’s hard to get CPython — the default Python interpreter written in C — to scale efficiently. “We think Grumpy has the potential to scale more gracefully than CPython for many real world workloads,” writes Google…

Because it doesn’t support C extensions, Grumpy doesn’t have CPython’s Global Interpreter Lock, which is commonly cited as a roadblock to running Python concurrent workloads smoothly. Grumpy also uses Go’s garbage collection mechanisms to manage memory under the hood, instead of CPython’s. Grumpy creates


Original URL: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/1xP-HdKig7A/google-boosts-python-by-turning-it-into-go

Original article

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: