2 ms·
Bit of context for this: - Cheaper Python frames are enabled by making some semantic changes to the language, mostly by removing some dynamic functionality tha
by kmod 4y ago
Bit of context for this:
- Cheaper Python frames are enabled by making some semantic changes to the language, mostly by removing some dynamic functionality that no one uses
- "Inlined Python function calls" is a bit misleading: Python functions are not inlined, it's the "code that does the bookkeeping for calling a Python function" that is now eliminated for Python-to-Python calls.
- The most important part of the specializing interpreter is the attribute caching, which is quite significant
Source: I work on Pyston, where we do many similar things (but can't make semantic changes to the language)
- dklend122 4y agoWhat are the goals and positioning of pyston given these other efforts?
- masklinn 4y ago> - Cheaper Python frames are enabled by making some semantic changes to the language, mostly by removing some dynamic functionality that no one uses What dynamic functionalities does no one use?
- oblvious-earth 4y agoNot sure what OP meant but basically internal frame struct has been significantly simplified to contain only essential information required at runtime. If a user is wanting to get or manipulate debugging information then the old frame struct will be generated when this is called.