3 ms·
Is it really a "choice" if the alternative is really hard to achieve in practice? It's like calling python's GIL a choice... with numerous projects trying to ge
by viraptor 8y ago
Is it really a "choice" if the alternative is really hard to achieve in practice? It's like calling python's GIL a choice... with numerous projects trying to get rid of it in various ways and never really succeeding to do it while keeping the single threaded performance and the extensions API.
- pjmlp 8y agoIt is a choice to keep backwards compatibility with the C extensions API. The GIL would be quite easy to replace otherwise.
- jashmatthews 8y ago> It is a choice to keep backwards compatibility with the C extensions API. IIUC for CRuby it's mostly about how to keep the VM simple. Koichi Sasada is working on an ownership based model like Erlang has, which sidesteps a bunch of theses issues.