GithubHelp home page GithubHelp logo

Deprecate library? about num_cpus HOT 6 CLOSED

SUPERCILEX avatar SUPERCILEX commented on May 16, 2024
Deprecate library?

from num_cpus.

Comments (6)

SUPERCILEX avatar SUPERCILEX commented on May 16, 2024 7

Interesting, looks like there's a PR to fix that: rust-lang/rust#92697. In the meantime, perhaps it's worth pointing out the differences?

from num_cpus.

pro465 avatar pro465 commented on May 16, 2024 1

update: the mentioned PR is now merged

from num_cpus.

notgull avatar notgull commented on May 16, 2024 1

Either way, I feel like the important thing is that this crate is available on earlier versions of Rust, which is important to crates who don't want to bump their MSRV.

from num_cpus.

seanmonstar avatar seanmonstar commented on May 16, 2024

Take a look at the limitations section on that function. This crate does check processor affinity, and cgroups, and doing so has an important impact on servers running in containers.

from num_cpus.

link2xt avatar link2xt commented on May 16, 2024

Here async-global-executor crate switched to the standard API: async-rs/async-global-executor#6

Here rayon crate is considering dropping the library: rayon-rs/rayon#937

from num_cpus.

seanmonstar avatar seanmonstar commented on May 16, 2024

Yea, probably not going to do this just yet.

from num_cpus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.