@davydovanton https://github.com/ko1/ruby/blob/ractor_parallel/doc/ractor.mdThreads in a Ractor shares a Ractor-wide global lock like GIL (GVL in MRI terminology), so they can't run in parallel (without releasing GVL explicitly in C-level).
Т.е. грубо говоря может быть много тредов в разных ракторах?
+ деление на
Most of objects are Unshareable objects, so you don't need to care about thread-safety problem which is caused by sharing.
Some objects are Shareable objects.
Immutable objects: frozen object which doesn't refer unshareable-objects.
i = 123: i is an immutable object.
s = "str".freeze: s is an immutable object.
a = [1, [2], 3].freeze: a is not an immutable object because a refer unshareable-object [2] (which is not frozen).
Class/Module objects
Special shareable objects
Ractor object itself.
And more...