3 ms·
pstore has been a built-in with Ruby stdlib for as long as ruby has existed, so _over_ 20 years.
by aartav 4y ago
pstore has been a built-in with Ruby stdlib for as long as ruby has existed, so _over_ 20 years.
- mperham 4y agoI'm assuming it pre-dates Rubygems because it really should be a gem. I can't speak for Japan but few people in the Western world seem to use it.
- brunno 4y agoThere was a time when some stuff was being extracted (removed) from Ruby core and becoming gems and I really tought PStore and YAML::Store were going to be among those, but no, they decided to keep them in core. So maybe there are some important enough use cases that justify it being there. Or maybe it would be a hard task that didn't justify the effort.
- byroot 4y agoMany parts of the stdlib are being slowly gemified, that's the case of `pstore` too hence why it has it's own repo. It's now no longer technically stdlib, but a "default gem", a gem that is installed by default with ruby, see: https://stdgems.org/ https://stdgems.org/ Since a few years every version remove one or two rarely used default gems. The Ruby core team just doesn't like big breaking changes.
- tyingq 4y agoPstore also uses Marshal behind the scenes, so I assume has similar caveats you see in other comments on this thread.