Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hasql 2.0? #114

Closed
steshaw opened this issue Jun 23, 2019 · 8 comments
Closed

hasql 2.0? #114

steshaw opened this issue Jun 23, 2019 · 8 comments

Comments

@steshaw
Copy link

steshaw commented Jun 23, 2019

Hi, I was looking for hasql 2.0 from this talk. Where could I find it?

@nikita-volkov
Copy link
Owner

It still resides in the beta. The developments are released under the 0.20.* version, but its not production-ready yet unfortunately.

@steshaw
Copy link
Author

steshaw commented Jun 23, 2019

No worries! I see it, it's the dev branch here. It's not been updated for a couple of years.

I was really excited by the talk. Were there any particular issues that keep it in beta?

@nikita-volkov
Copy link
Owner

It's not been updated for a couple of years.

True. I just don't get much time lately. I still do plan to finish this thing.

Were there any particular issues that keep it in beta?

Yes. GC. I've had several goes at the implementation and profiling and whatever I've tried didn't give me satisfactory results in terms of performance.

@steshaw
Copy link
Author

steshaw commented Jun 24, 2019

No worries, thanks for the info. It's a noble pursuit and I wish you the best. Perhaps I can help in some way? I'm not experienced with Haskell profiling but one learns by doing. Maybe some data structures could be moved off-heap?

@nikita-volkov
Copy link
Owner

Sure. You're welcome to analyse and experiment with the dev branch and ask me detailed questions.

@steshaw steshaw closed this as completed Jun 24, 2019
@avanov
Copy link

avanov commented Jan 7, 2022

Hi! I've been wondering about this dev branch lately, particularly in relation to postgresql-typed: dylex/postgresql-typed#26

What is your long-term plan regarding the 0.20.* branch? Is it likely to be deprecated due to the mentioned GC limitations or to be officially released as 2.x at some point in future?

I also wonder if/how postgresql-typed managed to avoid these GC issues in their implementation.

@nikita-volkov
Copy link
Owner

Hey! The issues have been resolved and the performance results are great :) The new developments will be released in the coming months as a new project. See https://twitter.com/NikitaYVolkov/status/1452985041366175750

@avanov
Copy link

avanov commented Jan 8, 2022

very nice, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants