John Nunley

Results 162 issues of John Nunley

For some workloads many tasks are spawned at a time. This requires locking and unlocking the executor's inner lock every time you spawn a task. If you spawn many tasks...

It is my current opinion that `try_tick` is almost never useful for the purposes that I've seen people use it. The intended purpose is for FFI interop with other runtimes....

`async-task` allows arbitrary metadata to be attached to tasks. It would be nice if this were available in `async-executor` as well.

enhancement
good first issue

In many actor systems (most notable Erlang), executors are optimized by having a "next task" slot in each executor queue. Whenever a new `Runnable` is scheduled, the future is first...

https://github.com/smol-rs/polling/pull/180/checks?check_run_id=20512547058

[`x86_64-fortanix-unknown-sgx`](https://doc.rust-lang.org/nightly/rustc/platform-support/x86_64-fortanix-unknown-sgx.html#x86_64-fortanix-unknown-sgx) is a notable Tier 2 target with libstd support. I haven't dug deep enough into the docs to know if it has a polling system or not, but given...

Related: https://github.com/tokio-rs/mio/pull/1721 This will probably need to be tacked onto the `poll()` backend like ESP-IDF is.

Rust is currently moving to support AIX, see rust-lang/compiler-team#553. AIX uses a system called "pollsets" that is vaguely similar to BSD's `kqueue` system for efficient polling. We should probably add...

help wanted

This function is significantly more efficient in comparison to the current strategy used for polling waitable handles.

`x86_64-uwp-windows-msvc` is a [Universal Windows Platform](https://en.wikipedia.org/wiki/Universal_Windows_Platform) app, which has different restrictions than the `pc` variant of Windows that most apps target. For our purposes, the main restriction is that we...

help wanted