TonyGen / mongoDB-haskell

MongoDB driver for Haskell
http://hackage.haskell.org/package/mongoDB
Apache License 2.0
57 stars 14 forks source link

Switch to `Data.Text` #15

Open superbobry opened 12 years ago

superbobry commented 12 years ago

Hello, have you considered switching to text from compact-string, since the latter is now obsolete (according to the Hackage page)?

Good thing is @alphaHeavy has is done in his fork!

superbobry commented 12 years ago

I've found your comment in haskell-bson. This is a little inconvenient, especially because a lot of libraries now use text, all of @bos libraries for example :)

sseveran commented 12 years ago

The original work was done by @MassiveTactical. We also merged in some other changes.

We agree on using Text although I see both sides. Using UTF16 instead of UTF8 was also hotly debated in the .net world. In the end we don't think the overhead is high enough to use something else in place of Text especially since the only thing left in our code base using something other than Text is protocol-buffers.

gregwebs commented 12 years ago

It seems pretty official that we are stuck with UTF16 Text for our Haskell code. I vote for the switch.

sseveran commented 12 years ago

Any movement on this? I can create a pull request if needed.

gregwebs commented 12 years ago

This driver is probably looking for a new maintainer now, not more pull requests :)

superbobry commented 12 years ago

I (or better we, here at selectel) can maintain it ;)

gregwebs commented 12 years ago

great! Tony is no longer at 10gen, and I don't know how to contact him.

The contact is now supposed to be Steve Francia. I sent a message to him. If I don't hear back I can go to 10gen office hours on Thursday 24.

superbobry commented 12 years ago

Well, maybe we should create a community, maintained fork?

gregwebs commented 12 years ago

10gen likes the idea. Please start on your fork and they should give it official approval soon.

superbobry commented 12 years ago

Great, I've forked both bson and mongodb, thank you!

superbobry commented 12 years ago

@gregwebs It has been two weeks, should I contact 10gen myself to check if everything is allright?

gregwebs commented 12 years ago

The community fork is now released to Hackage with the blessing of 10gen