LWN: Comments on "Adding a JIT compiler to CPython" https://lwn.net/Articles/977855/ This is a special feed containing comments posted to the individual LWN article titled "Adding a JIT compiler to CPython". en-us Sat, 25 Oct 2025 18:22:32 +0000 Sat, 25 Oct 2025 18:22:32 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Deoptimization https://lwn.net/Articles/979059/ https://lwn.net/Articles/979059/ bluss <div class="FormattedComment"> Both specialized instructions and the JIT are based on this kind of speculation. It inserts guarding instructions inline that check their requirements in the code, and can exit to a higher level interpreter when necessary. Here's a discussion about how that should work in detail <a href="https://github.com/faster-cpython/ideas/issues/638">https://github.com/faster-cpython/ideas/issues/638</a> <br> </div> Thu, 20 Jun 2024 10:57:51 +0000 Deoptimization https://lwn.net/Articles/979015/ https://lwn.net/Articles/979015/ DemiMarie <div class="FormattedComment"> Will it be possible to speculatively optimize the code, falling back to the interpreter if the assumptions turn out to be wrong?<br> </div> Thu, 20 Jun 2024 00:57:49 +0000