3 ms·
> Ruby uses green threads (meaning only one CPU will get > used) and they are no easy equivalent to Go channels. Restriction to a single core is a consequenc
by oinksoft 12y ago
> Ruby uses green threads (meaning only one CPU will get
> used) and they are no easy equivalent to Go channels.
Restriction to a single core is a consequence of the GIL. Also Ruby uses native threads, not green threads, since 1.9.
The author's `execute` method is dangerous because it doesn't escape its arguments.