[Vm-dev] Recreating live coding in CPython 3.5

Ben Coman btc at openinworld.com
Wed Oct 11 21:41:36 UTC 2017


On Thu, Oct 12, 2017 at 12:38 AM, Dimitris Chloupis <kilon.alios at gmail.com>
wrote:

>
> does "become" only exchange references ? Or is it more to it than that ?
>

https://gbracha.blogspot.com.au/2009/07/miracle-of-become.html

Also interesting reading...
https://clementbera.wordpress.com/2013/08/09/the-cog-vm-lookup/



>
> where I can find information about what insance enumeration and reified
> stack frames are ?
>

Lhe last entry here...
http://www.mirandabanda.org/cogblog/on-line-papers-and-presentations/

Also, does Python do Polymorphic Inline Caching?...
https://en.wikipedia.org/wiki/Inline_caching

or bytecode level hotspot recompilation...
https://clementbera.wordpress.com/2014/01/09/the-sista-chronicles-i-an-introduction-to-adaptive-recompilation/comment-page-1/

cheers -ben



>
> Python has methods in gc module (module for its garbage collector) to find
> objects that point to an object or objects that an object point to . But it
> has no convenient method to exchange those references . I assume you could
> do it via an iteration but I never tried it in practice.
>
> Indeed such feature is essential for live coding.  I will have to add it
> to my implementation thanks.
>
> Is this book still relevant for my implementation ?
> http://stephane.ducasse.free.fr/FreeBooks/BlueBook/Bluebook.pdf
>
>
> On Wed, Oct 11, 2017 at 6:07 PM Bert Freudenberg <bert at freudenbergs.de>
> wrote:
>
>> On Wed 11. Oct 2017 at 16:27, Dimitris Chloupis <kilon.alios at gmail.com>
>> wrote:
>>
>>>
>>> I am talking about beyond those obvious features that Python has them
>>> covered is there anything special the Cog VM is doing live coding wise that
>>> I am not aware of ?
>>>
>>
>> Instance enumeration, the become operation, and reified stack frames are
>> features that set Smalltalk apart and enable many of its live coding
>> capabilities. Cog supports these features. Cog was specifically designed to
>> allow fast stack operations in the normal case while still allowing frame
>> manipulation. Spur was designed to make "become" fast, it used to be very
>> expensive.
>>
>> - Bert -
>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20171012/aa6cace5/attachment-0001.html>


More information about the Vm-dev mailing list