I would not have thought I ever say that: lets have a new
primitve (was: Re: [squeak-dev] The Trunk: System-cwp.660.mcz)
Tobias Pape
Das.Linux at gmx.de
Tue Jan 14 09:41:01 UTC 2014
On 13.01.2014, at 21:56, Stefan Marr <smalltalk at stefan-marr.de> wrote:
> Hi Tobias:
>
> On 12 Jan 2014, at 18:47, Tobias Pape <Das.Linux at gmx.de> wrote:
>
>> I really don’t like to say it, but it seems to me, that a
>> VM primitive (say #primAllObjectsDo:) would be apt here.
>> • is more easy implemented by cousin VMs (say, Potato, SqueakJS,
>> SPy/RSqueakVM, SqueakMaxine†
>
> How do you implement that efficiently in RPython, or Java?
> Keeping some kind of object table around?
>
Well, I have no Idea currently, but i think some #primAllObjectsDo:
(or #primAllObjects, as it seems now) has IMHO less severe constraints
than the #someObject/#nextObject way.
OT is one path. Manual heap scanning another. Collecting objects from
the roots (special objects array) a third. All these do not require
the #nextObject invariant.
Best
-Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1665 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140114/2fa43c41/signature.pgp
More information about the Squeak-dev
mailing list
|