<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I don’t have deep knowledge about the self compiler architecture, so maybe it is completely nonsense…</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">When I got it right, the compiler is translating a peace of self code on the fly, when it will be executed the first time. Part of this process is the binding. When you reinvoke the same method again the precompiled code will be reused. If you reinvoke it with a different parameter set a new precompiled code will be created. As long as the code cache is not full all precompiled method will be stored. </div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">If we now search in this cache we should be able to find all precompiled variants of a method, or? If so, we should be able to find out what “kind” of objects where involved, or?</div> <br> <div id="bloop_sign_1469466369490073856" class="bloop_sign">When I have it correctly in mind, GEODE, the Gemstone IDE did something similar in the good old days you had mentioned. Gemstones Smalltalk implementation had a type system, but you where able to start lazy/fuzzy with typing. The IDE was able to collect type information while you where executing the code. By that you where able to type stronger and to be more precise more accurate over time.</div> <div><br></div>My idea was to do something similar… collect information during the code execution to give some hints about the objects which where bind to variable c in the past.<div><br></div><div>Makes this sense?<br><p class="airmail_on">On 25 July 2016 at 17:19:04, David Ungar ungar@me.com [self-interest] (<a href="mailto:self-interest@yahoogroups.com">self-interest@yahoogroups.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div style="background-color: #fff;"><div></div><div>


<title></title>


<span style="display:none"> </span>  

<div id="ygrp-text">
<div>Inconceivable in 1993. How soon before you can Google all the
past values of any expression in any program?<br>
<br>
- David (from iPad, typos likely)</div>
<div><br>
On Jul 25, 2016, at 3:57 AM, Thorsten Dittmar <a href="mailto:thormar@me.com">thormar@me.com</a> [self-interest]
<<a href="mailto:self-interest@yahoogroups.com">self-interest@yahoogroups.com</a>>
wrote:<br>
<br></div>
<blockquote type="cite">
<div><span> </span>
<div id="ygrp-text">
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;margin: 0px;">Maybe
this is a stupid idea maybe not… </div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;margin: 0px;">
<br></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;margin: 0px;">when I
have it correctly in mind we have a binary code cache. in this
cache “all the past" combinations of parameters are stored as a
different “binary snippet”. maybe it would be a good idea to make
this accessible from the editor. So a kind of a "mouse over” for a
parameter, which will show up which objects where involved in the
past.</div>
<br>
<div id="bloop_sign_1469443963840404992" class="bloop_sign"></div>
<br>
<p class="airmail_on">On 25 July 2016 at 12:03:46, James Noble
<a href="mailto:kjx@mcs.vuw.ac.nz">kjx@mcs.vuw.ac.nz</a>
[self-interest] (<a href="mailto:self-interest@yahoogroups.com">self-interest@yahoogroups.com</a>)
wrote:</p>
<blockquote type="cite" class="clean_bq">
<div style="background-color: #fff;">
<div><span><span> </span></span>
<div id="ygrp-text">
<p>> Great examples. But you omitted the source code.<br>
<br>
and this I think is one of the most significant cultural changes
between Smalltalk and Java -- pretty much a generational
change.<br>
<br>
Smalltalk people expected to read the source code,<br>
ditto for things like MacApp, ET++, MFC, all shipped<br>
with code and the expectation people would read it.<br>
The Lions book is another example. Software Tools.<br>
<br>
Then came Javadoc - and now people expect to be<br>
able to read only the documentation. I do it myself:<br>
read the code in Smalltalk or Self (or Grace):<br>
read the doc in C# or Java.<br>
<br>
a micro-paradigm shift if you will.<br>
<br>
James</p>
<br>
<br></div>
<!-- end group email --></div>
</div>
</blockquote>
</div>
<!-- end group email --></div>
</blockquote>
</div>


<!-- end group email -->


</div></div></span></blockquote></div></body></html>