Skip to content

[DISCUSSION] Value over core::future #14

Open
@boomshroom

Description

@boomshroom

With futures becoming standardized and integrated into the core library, I feel like this crate has less reason to exist. The biggest part of this crate is type nb::Result<T, E> = Result<T, nb::Error<E>>, but in the current nightly, this can be replicated with core::task::Poll<Result<T, E>>. The biggest reason I can see to use this library is the fact that it doesn't require nightly. It may be a while before core::{future, task} becomes stabalized, but even so, if I'm doing no_std stuff, I tend to be using nightly anyways (for things like asm).

That being said, where do you see this library going in the near or distant future given futures being adopted into the standard library? I'm not saying to shut this down and switch everyone to futures, I just want to get an idea of where things are headed. Thank you for any discussion. (I also apologize if the issue tracker isn't the best place for discussion.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions