"Ruby Arrays aren't thread-safe, [...] MRI's threading implementation accidentally makes them thread-safe." http://www.ruby-forum.com/topic/174086
-
-
@bascule@jstorimer because it is, there were no specs until recently & specs don't cover that. The truth is elsewhere -
@merbist@jstorimer yeah, Ruby needs a memory model :( -
-
@jstorimer@bascule@merbist@brixen We rely on Java memory model and spell out how it applies to Ruby: https://github.com/jruby/jruby/wiki/Concurrency-in-jruby … -
@headius@jstorimer@merbist@brixen would be nice to have a unified memory model across impls with least-common-denominator guarantees -
@bascule@jstorimer@merbist@brixen I've said it before: impls could do a lot worse than to just follow JRuby's lead. -
@headius@jstorimer@merbist@brixen unfortunately people seem to largely follow MRI's lead. Concurrent array mutations are thread-safe woo! -
@bascule@headius@jstorimer@merbist and@brixen would probably say to follow rubinius.#trytospottheproblem - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.