Jose Valim implies that autoloading is threadsafe in Ruby 2.0:

The issue with this approach is that it is not thread-safe, except for 
> latest JRuby versions (since 1.7) and Ruby master (2.0)

 

http://blog.plataformatec.com.br/2012/08/eager-loading-for-greater-good
>

However, the autoload bug ticket filed against Ruby 
(http://bugs.ruby-lang.org/issues/921) was closed and refers to a forum 
post wherein Matz recommends *not* to use autload 
(http://www.ruby-forum.com/topic/3036681).

Does anyone have any light to shed on this discrepancy? 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/0a11bc68-756f-4de2-a4bb-afb23a92d2f6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to