Wednesday, 22 June 2016

Python: Instagram Strikes a Sizable Blow in Silicon Valley’s Tabs Vs Spaces War | WIRED

Instagram Strikes a Sizable Blow in Silicon Valley’s Tabs Vs Spaces War | WIRED: "Rather than really moving away from Python or really trying to change the language, it found all sorts of small ways to tweak its Python code so that it could efficiently serve those 500 million people.

Most notably, using a tool called cprofile, Krieger and company worked to identify their slowest pieces of Python code. “We believe in measuring first before taking action,” says head of infrastructure Hui Ding. Then, using a second tool called Cython, they converted these pockets of slow code into C or C++. According to the company, this allows Instagram to run with 10 to 15 percent less processing power."



'via Blog this'

No comments:

Post a Comment