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

Why isn't this implementation in the standart library? #248

Open
rsofista opened this issue Jul 20, 2020 · 2 comments
Open

Why isn't this implementation in the standart library? #248

rsofista opened this issue Jul 20, 2020 · 2 comments

Comments

@rsofista
Copy link

By the README this lib rocks, and since it is so much faster than the std why isn't it there?

Just out of curiosity.

@faern
Copy link
Collaborator

faern commented Jul 21, 2020

An attempt was made to make std use this implementation. But it was ultimately abandoned/put on hold for a number of reasons. There were issues with certain platforms that did not handle time/sleeping very well (such as Wasm and SGX) and a large review of parking_lot yielded a number of issues that had to be addressed before it would be approved into std, and these things have not been fixed.

If you want to read a lot more you can dig deep into this PR: rust-lang/rust#56410

@daxpedda
Copy link
Contributor

Note that the Std implementation has been overhauled in Rust v1.62.

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