Alec Mocatta
Alec Mocatta
```rust vec![0u8; 100000].iter().map(|&x| { x as u64 * x as u64 }).sum::(); ``` is essentially what I'd like to use this crate to SIMD-accelerate. The issue I'm bumping into is...
There's a race where one thread tries to overallocate: `self.remaining.fetch_sub(size, Ordering::Acquire) >= size` and correctly fails, but `self.remaining` has now wrapped, so another thread's attempt to overallocate (before the first...
### Proposal Parameterize reading (and potentially writing) of rows with a type parameter, which is checked against the file's schema, and used to specialize the deserialization (and potentially serialization) of...
This would be handy for example to ensure struct sizes don't grow beyond some limit. It can be implemented like this: ```rust macro_rules! assert_le_size { ($a:ty, $b:ty) => { const...
An attribute like `author_has_write`, a Boolean representing whether the PR author has `admin` or `write` permission on the repository, would I think solve my use case. --- **Use case:** I...
How many `Waker`s should items implementing say `AsyncRead` and `AsyncWrite` have to store? At least some libs1 store two – a "read waker" and a "write waker". The former is...
The docs specify incoming streams as being "in the order they were opened". Intuitively I'd expect this to be the order in which `open_uni`/`open_bi` were called, but it's actually the...
This enables big performance improvements by not having to clone elements for `ParallelStream`s. The complication is that, akin to [`crossbeam::scope`](https://docs.rs/crossbeam/0.7/crossbeam/fn.scope.html), we need to block before returning to avoid the user...
`cargo miri test` succeeds but most tests are disabled, blocked on https://github.com/rust-lang/miri/issues/1038. ``` $ RUST_BACKTRACE=1 cargo +nightly-2020-07-07 miri test --test single_threaded running 1 test error: internal compiler error: /rustc/0c03aee8b81185d65b5821518661c30ecdb42de5/src/librustc_middle/macros.rs:7:9: vtable...
I've vendored what looks to me like a nice, well written, pure-Rust (but can optionally use OpenBLAS, Intel MKL, Netlib or Apple's Accelerate framework under the hood) [library](https://github.com/maciejkula/wyrm) that contains...