[squeak-dev] Setting Memory pointer for bitmap object.. is it possible without plugin?

Merik Voswinkel macmerik at gmail.com
Thu Mar 30 08:02:14 UTC 2023


I would use the RoarVM version of Squeak to have multiple objects like your bitmaps to coordinate between parallel treads.
It works just as fine on a single core as on multiple cores.


> On 29 Mar 2023, at 21:11, LawsonEnglish <LEnglish5 at cox.net> wrote:
> 
> I decided to do a strange, but potentially very nifty thing, and share memory between two or more squeak applications on the Mac, but I find I can’t even get started…
> 
> What I’d like to do is manually set the pointer for a Bitmap in Image A so that it points to the same shared memory as the BitMap in Image B (and C and D and…)
> and then display the Image Bitmap while B (C, etc) asynchronously draw into the same shared memory.
> The immediate usecase would be doing a multi-process Mandelbrot Set drawing app where the Image A is for display and menu selection while the remaining Images 
> do the calculations and setting of pixels.
> Is this doable out-of-the-box in Squeak, or must I write a plugin first?
> If so, what do I need to do?
> 
> If I do need to write a plug-in, how do I do it. I’ve read on the wiki about the Surface Plugin, but not quite sure if that is what I need or not.
> 
> Thanks.
> 
> 
> L
> 



More information about the Squeak-dev mailing list