John Nunley

Results 147 issues of John Nunley

Right now, we use `SIGPROC` to wait for process events on Unix and thread pooling to wait for process events on Windows. This is a very inefficient strategy that doesn't...

In `smol`, `Executor` and `LocalExecutor` don't implement any common traits. So, it's impossible to create a common abstraction over both traits. This is a blocker for https://github.com/notgull/smol-hyper/pull/2#issuecomment-1896504478 and https://github.com/smol-rs/smol/issues/292. However...

The `Error` struct is six words wide. In comparison, most of the types returned via `Result` are one or two words wide. This means that there is about four words...

api

There are some `DisplayHandle` and `WindowHandle` variants that are completely safe to construct. For instance: - Most `DisplayHandle`s are just indicators of the currently running display system and don't involve...

I just merged #134, which adds a new web handle type based on references to a `JsValue`. I opted to merge it now so we can migrate bikeshedding to a...

When attempting to run the `hello-world-dl` example on NetBSD 9.3, I get this error: ``` thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: OpenError { kind: Library, detail:...

The only way to get a binary for Ragel outside of your package manager is to build it from source. This makes it difficult to use in CI environments. It...

It would be nice to be able to use this crate on web targets. As far as I know, the only portable way of doing this is to use the...

For Windows there is file completion (for some operations, we'd have to fall back to `blocking` for others), for Linux there is `io_uring` and for BSD there is `aio`. It...

I'm trying to add support for WASM to my `piet-cosmic-text` crate by embedding a font into the executable. However, it seems that, even after I set the font using `set_sans_serif_font`...