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

How can we support async drivers? #18

Open
andygrove opened this issue Dec 19, 2019 · 4 comments
Open

How can we support async drivers? #18

andygrove opened this issue Dec 19, 2019 · 4 comments

Comments

@andygrove
Copy link
Contributor

No description provided.

@rumatoest
Copy link

What if there will be no traits API for sync drivers ?
As I understand you can wrap async driver and make it sync. Thus wrapper should not be an issue.
But if there will be possibility to not write async drivers it could end up like JDBC - it synchronous by default and probably it would never be fixed.

@95th
Copy link
Contributor

95th commented Dec 26, 2019

@rumatoest JDBC is getting "fixed" by loom. As for rust, as you said the sync wrapper works for rust-postgres (wrapper over tokio-postgres).

@rumatoest
Copy link

JDBC is getting "fixed" by loom.

Was it fixed in some LTS JDK or it would be fixed someday?
In other words "we all hope that in a 10 years all major frameworks would support async JDBC"

Ecosystem updates are very slow. Thus it is very crucial to have all required major core features at the beginning.

@95th
Copy link
Contributor

95th commented Dec 27, 2019

Not yet released. the works is still in progress (although EA build is available for testing). But this is getting off-topic.

Ecosystem updates are very slow. Thus it is very crucial to have all required major core features at the beginning.

Agree.

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