[squeak-dev] Can we extract type information from the VM?

Eliot Miranda eliot.miranda at gmail.com
Sun Sep 15 19:14:23 UTC 2013


On Sun, Sep 15, 2013 at 2:54 AM, Frank Shearar <frank.shearar at gmail.com>wrote:

> I was rereading Phlip's "what's wrong with our IDEs" post -
>
> http://www.oreillynet.com/onlamp/blog/2008/05/dynamic_languages_vs_editors.html
> - and realised that he's just verbalised something I've only
> half-thought.
>
> When we run our tests (because of course we're using TDD) we know the
> precise types/expected classes of everything, because the VM
> automatically collects (or can collect) this information.
>
> But how do we get that information out of the VM?
>

Part of my Sista design (Speculative Inlining Smalltalk Architecture) is
access to the inline caches through a primitive on CompiledMethod.  But
that primitive is only available in an experimental VM.  I could add it to
the standard VM though.  Let me know if you've energy enough to explore
this.


> frank
>
>


-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130915/94b2a7ef/attachment.htm


More information about the Squeak-dev mailing list