I tried to abstract the Transcript API from the Pharo perspective in

https://pharo.fogbugz.com/f/cases/15528/Add-TTranscript-and-DailyNonInteractiveTranscript

If the Cuis Transcript implementation conformed to this, it could become just a 
plugin replacement/alternative, next to others already present.

> On 13 May 2015, at 16:08, J. Vuletich (mail lists) <[email protected]> 
> wrote:
> 
> Hi Alain,
> 
> Quoting Alain Rastoul <[email protected]>:
> 
>> Le 08/05/2015 11:34, stepharo a écrit :
>>> Hi guys
>>> 
>>> the Transcript in Pharo is that it's not asynchronous so I can't use it
>>> in VM development to show the current progress of the simulation. For
>>> example:
>>> 1 to: 100 do: [ :i |
>>>    0.1 seconds asDelay wait.
>>>    Transcript show: 'x'. ]
>>> => on Squeak, this shows a x every 0.1 second in the Transcript
>>> => on Pharo, nothing happens during 10 seconds then all the x are shown.
>>> 
>>> https://pharo.fogbugz.com/default.asp?15515
>>> 
>>> 
>> Hi,
>> I updated the fogbugz entry with a changeset containing the sources Stef 
>> already put here, so that it should be easy for anybody to load 
>> CuisTranscript into a Pharo image and have a look.
> 
> Today I did a new commit to the Cuis repo. The Cuis image is now in Cog 
> format (6505) instead of Closures format (6504). I hope this allows you to 
> run Cuis in your system.
> 
> I also addressed some of the issues you raised. I optimized the refresh, and 
> avoided the "bolder text" effect.
> 
> Now,
>    Time millisecondsToRun: [ 1000 timesRepeat:  [ Transcript show: 'x' ] ].
> takes 2 ms, even while updating the Display. (Hundreds of times faster).
> 
> I hope the slugginess you see also gets better.
> 
> 
>> IMHO another solution has to be found, or a big review of this has to be 
>> done.
>> see details in fogbugz entry.
>> 
>> -- 
>> Regards,
>> 
>> Alain
> 
> Cheers,
> Juan Vuletich


Reply via email to