LWN: Comments on "Faster CPython at PyCon, part two" https://lwn.net/Articles/931197/ This is a special feed containing comments posted to the individual LWN article titled "Faster CPython at PyCon, part two". en-us Fri, 07 Nov 2025 17:07:15 +0000 Fri, 07 Nov 2025 17:07:15 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Faster CPython at PyCon, part two https://lwn.net/Articles/933103/ https://lwn.net/Articles/933103/ Rudd-O <div class="FormattedComment"> Google internally uses Python. But not as much. And almost all highly-performant code is C++ or Go or Java these days.<br> <p> It's a matter of software quality constraints, mostly; back then, when we did not have mypy, it was comparatively harder to be certain that a Python program was gonna do what the programmer intended it to do after TAP was done TAPping, RAPID was done RAPIDing, and your PAR file was ready for your MPM (lengthy processes prior to deploy).<br> <p> Modern Python with types (and a disciplined programmer who understands the type system) is almost as good as Go. Rust is still quite superior. Obviously these are only my opinions.<br> </div> Sat, 27 May 2023 12:21:36 +0000 Faster CPython at PyCon, part two https://lwn.net/Articles/932907/ https://lwn.net/Articles/932907/ 0xdky <div class="FormattedComment"> Could it be to reduce the cost of running a lot of analytics and ML jobs written in Python for these large cloud providers? If they can save on compute, they either get a bigger profit or can reduce the price and get more customers. <br> <p> With the AI/ML wave, there could be uptick in Python based jobs running on public clouds. <br> <p> Overall, I am very happy to see this improvements and technical content on LWN. Keep it coming!<br> </div> Wed, 24 May 2023 23:07:20 +0000 Faster CPython at PyCon, part two https://lwn.net/Articles/932549/ https://lwn.net/Articles/932549/ anton Looking at the <a href="https://qinsb.blogspot.com/2011/03/unladen-swallow-retrospective.html">Unladen Swallow Retrospective</a>, there was someone who was willing to do the work, and Google did initial funding, but eventually stopped funding it, because apparently nobody at Google uses Python for performance-critical work. <p>Still, as you write, there is interest in improving Python performance, maybe not because there is a product-related need for it, but because it is something that appeals to Python people; so the topic comes up again and again. Sun, 21 May 2023 21:06:04 +0000 Faster CPython at PyCon, part two https://lwn.net/Articles/932377/ https://lwn.net/Articles/932377/ kpfleming <div class="FormattedComment"> AFAIK there wasn't any organization (company or other) willing to put resources into funding such a team until recently. There has been plenty of interest in improving performance and reducing memory consumption, but those aren't tasks that can reasonably be done by people who are not working on the interpreter full-time. The presenter of this talk (Mark Shannon) published a whitepaper and a roadmap, but it took a sponsor (in this case Microsoft, and then others) to take up the challenge and fund a group of developers to focus on it.<br> </div> Thu, 18 May 2023 14:44:52 +0000 Faster CPython at PyCon, part two https://lwn.net/Articles/931909/ https://lwn.net/Articles/931909/ Trou.fr <div class="FormattedComment"> Thanks for the article. I'm very surprised the optimizations described in the two articles are only implemented now, as they seem basic (like caching lookups). Is there any simple/logic explanation as why nobody implemented them before?<br> I'd be genuinely interested in an article covering the Python ecosystem, a bit like the kernel contributors analysis. For a such a widely used language, the lack of a team focused on optimizing the runtime is extremely strange. <br> </div> Mon, 15 May 2023 15:48:25 +0000 Faster CPython at PyCon, part two https://lwn.net/Articles/931791/ https://lwn.net/Articles/931791/ ejr <div class="FormattedComment"> ObLisp: Anyone consider the optimizations from CMUCL/SBCL's online compiler named... ... ... Python?<br> <p> </div> Fri, 12 May 2023 23:00:06 +0000