nim-lang / RFCs

A repository for your Nim proposals.
135 stars 26 forks source link

The future of `sharedlist` and `sharedtables` #433

Closed konsumlamm closed 2 years ago

konsumlamm commented 2 years ago

The sharedlist and sharedtables modules have a number of issues:

So I think we should do something about it! There are a few possibilities for their future that I see (feel free to propose more):

  1. keep everything as-is (I hope we can agree that this is not a good idea)
  2. deprecate the modules and move them to their own nimble package
  3. deprecate the modules and let others write a nimble package for shared data structures (that will hopefully be better)
  4. keep the modules in std and fix the above issues (or at least some of them)

I have no particularly strong opinion on which option would be best, but my personal preference is option 3, since I think that the modules are too specialized for std and I don't see them being actively maintained.

Araq commented 2 years ago

Deprecate them and eventually provide better things in nim-lang/threading or elsewhere but nim-lang/threading is a natural place to put it.

juancarlospaco commented 2 years ago

Deprecate.