[squeak-dev] Ancient Mantis Report - 1650 PrimitiveScanCharacters

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Sun Jul 21 19:02:23 UTC 2013


Clearly, character scanning inner loop is now written all in Smalltalk, and
that seems efficient enough on our computers.
Is it a problem on Pi?
IMHO, the thing to do would be to document the primitive as backward
compatibility support only (interpreter VM)
In case of COG, since there is no such backward compatibility anyway, drop
the primitives.
Or rewrite them to support i18n...


2013/7/21 tim Rowledge <tim at rowledge.org>

> Clearing out old bug reports can be very alarming. Take this one -
> http://bugs.squeak.org/view.php?id=1650
>
> Between 3.7 & 3.8 the shape of CharacterScanner was changed in such a way
> that the scan characters primitive (much beloved by us ancient and gray vm
> hackers) cold not work. That's what, 9 years ago?
>
> I'm not sure what the best 'fix' is. Fix the prim? Fix the image? Drop the
> prim entirely from the current images?
>
> But really - changing  a core vm-known class so the vm doesn't know it any
> more? Ouch. Bad programmer. Sit in the naughty corner!
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Useful random insult:- Has an inferiority complex, but not a very good one.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130721/f54139cd/attachment.htm


More information about the Squeak-dev mailing list