[squeak-dev] Re: browsing method speed
Eliot Miranda
eliot.miranda at gmail.com
Mon Jan 21 23:55:37 UTC 2013
On Mon, Jan 21, 2013 at 3:51 PM, tim Rowledge <tim at rowledge.org> wrote:
>
> On 21-01-2013, at 3:48 PM, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> >
> > Alas it bites at a slightly higher-level than that also. Yes, the
> decoupling of positioning and reading is a problem for thread-safety. But
> so is the single buffer and the single position. e.g. if one were to call
> your unified primitive below to fill the buffer that wouldn't prevent
> another thread reading at a different position into the same buffer and
> trashing the contents from the POV of the first thread. Since the
> programming tools are essentially single-threaded it's not *that* bad a
> problem, unless you're debugging source access (I *think*).
>
> Gotta start somewhere. Bottom is often good. Then other people can build
> upon that.
>
Sure, but can't solve the immediate problem this way because it takes time
for a VM change to percolate through.
--
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130121/29d3d599/attachment.htm
More information about the Squeak-dev
mailing list
|