[squeak-dev] Re: browsing method speed

tim Rowledge tim at rowledge.org
Mon Jan 21 23:51:58 UTC 2013


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.

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Ubi dubium ibi libertas



More information about the Squeak-dev mailing list