[Cuis-dev] Cuis on SqueakJS

Juan Vuletich juan at cuis.st
Thu Nov 9 12:35:51 PST 2023


Hi Agustín,

This is good news. There's no real advantage of caching the WordSize 
value, and now we know it creates a problem.

I've just pushed an update to remove the class variable WordSize in 
SystemDictionary. It should work OK with this update.

Thanks,

On 11/9/2023 4:24 PM, Agustin Martinez via Cuis-dev wrote:
> Doing some research into the problem with Vanessa's help, I learned a 
> few things. SqueakJS converts 64-bit images into 32-bit images when 
> loading. And since the 32-bit Cuis image worked fine, the problem 
> could come in the conversion. The WrodZise variable is not modified in 
> the conversion (at least not always). By resetting it when starting 
> up, the problem could be solved and we would have both versions (32 
> and 64) of Cuis running in SqueakJS.
>
> Captura de pantalla 2023-11-09 a las 10.05.33.png
>
>
> On Wed, Nov 8, 2023 at 2:39 PM Agustin Martinez <agustincico at gmail.com 
> <mailto:agustincico at gmail.com>> wrote:
>
>     Hello everyone,
>     I'm testing the current Cuis image in SqueakJS and I am
>     encountering the following problem: when an exception is raised
>     the process goes on an infinite loop. Any idea how we can solve it?
>     To try it we can evaluate "self error: 'error message' " on a
>     workspace.
>     This printing describes the loop:
>
>     Object>>at:
>     Object>>errorSubscriptBounds:
>     Object>>error:
>     Exception>>signal:
>     Exception>>signal
>     Exception>>signalIn:
>     ContextPart>>nextHandlerContext
>     ContextPart>>findNextHandlerContext
>     ContextPart>>findNextHandlerOrSignalingContext
>     MethodContext>>isHandlerOrSignalingContext
>     CompiledMethod>>primitive
>     Object>>at:
>     Object>>errorSubscriptBounds:
>     Object>>error:
>     Exception>>signal:
>     Exception>>signal
>     Exception>>signalIn:
>     ContextPart>>nextHandlerContext
>     ContextPart>>findNextHandlerContext
>     ContextPart>>findNextHandlerOrSignalingContext
>     MethodContext>>isHandlerOrSignalingContext
>     CompiledMethod>>primitive
>     Object>>at:
>     Object>>errorSubscriptBounds:
>     Object>>error:
>     Exception>>signal:
>     Exception>>signal
>     Exception>>signalIn:
>     ContextPart>>nextHandlerContext
>     ContextPart>>findNextHandlerContext
>     ContextPart>>findNextHandlerOrSignalingContext
>     MethodContext>>isHandlerOrSignalingContext
>     CompiledMethod>>primitive
>     Object>>at:
>
>     Best,
>     Agustín
>
>     On Thu, Nov 2, 2023 at 8:48 PM Stephen Travis Pope via Cuis-dev
>     <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
>
>
>         By the way, Vanessa, it is AWESOME to be able to run cuis on
>         my Android tablet — Danke vielmals!
>
>         stp
>
>         --------
>
>         Stephen Travis Pope    Ojai,California, USA
>         pastedGraphic.tiff
>         http://HeavenEverywhere.com
>         http://FASTLabInc.com
>         https://vimeo.com/user19434036/videos
>         http://heaveneverywhere.com/Reflections
>
>
>
>>         On Oct 28, 2023, at 3:02 PM, Juan Vuletich via Cuis-dev
>>         <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
>>
>>         On 10/27/2023 7:34 PM, Vanessa Freudenberg wrote:
>>>         On Fri, Oct 27, 2023 at 1:31 PM Juan Vuletich <juan at cuis.st
>>>         <mailto:juan at cuis.st>> wrote:
>>>
>>>             Hi Vanessa,
>>>
>>>             On 10/27/2023 2:36 AM, Vanessa Freudenberg via Cuis-dev
>>>             wrote:
>>>             > Hi Juan,
>>>             >
>>>             > primitive 184 (Object>>pin) was missing. I added that
>>>             to the VM as a
>>>             > no-op answering true and now it works.
>>>
>>>             Please don't.
>>>
>>>
>>>         You're right – either it should fail or work correctly. I'll
>>>         make it work properly.
>>>
>>>             Thank you so much for taking the time to carefully test
>>>             Cuis on
>>>             SqueakJS. Hopefully no special hacks in the VM will be
>>>             needed to run Cuis.
>>>
>>>
>>>         Oh I didn't test carefully, I'll leave that to others ^_^
>>>
>>>         I was only curious if it worked. My goal is to have SqueakJS
>>>         be able to run as many unmodified images as reasonably possible.
>>>
>>>         Please report problems
>>>         athttps://github.com/codefrau/SqueakJS/issues
>>>
>>
>>         Sure, thanks,
>>
>>>         BTW, what VM is good for Mac ARM? I haven't gotten Cuis to
>>>         run outside of SqueakJS yet.
>>
>>         Eliot and OpenSmalltalk haven't done a release yet, but the
>>         latest build
>>         fromhttps://github.com/OpenSmalltalk/opensmalltalk-vm/actions/workflows/macos-arm.ymlshould
>>         work both for Squeak and Cuis.
>>
>>>         Vanessa
>>
>>         Cheers,
>>         -- 
>>         Juan Vuletich
>>         cuis.st  <http://cuis.st/>
>>         github.com/jvuletich  <http://github.com/jvuletich>
>>         researchgate.net/profile/Juan-Vuletich  <http://researchgate.net/profile/Juan-Vuletich>
>>         independent.academia.edu/JuanVuletich  <http://independent.academia.edu/JuanVuletich>
>>         patents.justia.com/inventor/juan-manuel-vuletich  <http://patents.justia.com/inventor/juan-manuel-vuletich>
>>         linkedin.com/in/juan-vuletich-75611b3  <http://linkedin.com/in/juan-vuletich-75611b3>
>>         twitter.com/JuanVuletich  <http://twitter.com/JuanVuletich>
>>         --
>>         Cuis-dev mailing list
>>         Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
>>         https://lists.cuis.st/mailman/listinfo/cuis-dev
>
>         -- 
>         Cuis-dev mailing list
>         Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
>         https://lists.cuis.st/mailman/listinfo/cuis-dev
>


-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20231109/48081314/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 153281 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20231109/48081314/attachment-0001.png>


More information about the Cuis-dev mailing list