logoalt Hacker News

lern_too_spelyesterday at 8:39 PM1 replyview on HN

How about the fact that Ruby makes immutability difficult, and Hash does not copy keys on write and read? Almost every program uses a hash table, and Ruby makes them especially dangerous.


Replies

Lioyesterday at 10:36 PM

At least we have new features for immutability as part of Ractors.

e.g. Ractor.make_shareable(data)