What is the level of granularity of Scratch's concurrency? I mean, if I check in a IF block for a global variable having a given value and then I change its value accordingly inside the IF block, can I be sure that no other sprite is changing the value of the same variable at the same time?
Offline
Ah, excellent question, s_federici! The beauty about the Scratch execution engine is, that - yes - even though Scratch is full of race conditions, you can be sure that they don't affect your conditionals.
Offline
Thanks a lot Jens, I was sure that you could answer this question. BTW, I asked some question to the team (e.g. why the applet source code has not been made available as open source?) but I'm not getting any answer from them. Do you know if this is a Scratch team policy?
Offline
s_federici, I'm sorry you didn't get answers to your questions. I don't think it's Scratch Team policy not to answer, but rather lack of time. I don't know about licensing and open source strategies, but I strongly suspect that again lack of time has a much to do with it. The Scratch Team, after all, is very small, and most of them are graduate students rather than full-time employees. I remember reading somewhere in the forums, though, that the binary license for the Scratch application is about to be changed to exclude the noncommercial clause, but then, that's probably not what you're interested in
Offline
btw, i think "granularity of concurrency" is the name of the next james bond movie
Offline
I do love Douglas Adams!
Should I sell him the title?
Offline
Really!?!? I'm shocked. I had hoped that other babel fishes could made my reading days so light and fun in the future...
Offline
you can still commemorate the great man on Towel Day (May 25), which btw would make for a nice project and logo competition.
Offline