-
Right now the path down a `Choose` style decision tree is formed by signaling with booleans over the channel, which is not (space) efficient. Further, you must use macros to avoid having to do a bunch…
-
The lint for unconditional recursion currently only handles the case where a function calls itself *directly*, which means that many useful cases are missed:
* https://github.com/rust-lang/rust/iss…
-
I tried this code:
```rust
#![feature(portable_simd, platform_intrinsics, adt_const_params, core_intrinsics)]
#![allow(incomplete_features, internal_features)]
use std::intrinsics::simd as intrins…
-
Ante should be able to construct struct values while naming each field in any order. The syntax should be as follows:
```ocaml
MyStruct with
field1 = expr1
field2 = expr2
...
f…
-
As @jgallagher helpfully showed during our weekly Rust study, `cargo build --timings` generates a nice report of build times.
From this report, there are some particularly bad offenders - among the…
-
Currently there's a suboptimal interaction between const asserts and const generics.
A more general function that is valid for all N cannot call a function that asserts at compile time that N fulfi…
-
I tried this code:
```rust
trait Foo {
type A;
fn test(a: Self::A) -> Self::A {
a
}
}
struct Bar(i32);
impl Foo for Bar {
type A = i32;
}
struct Baz(f32…
-
(This is a followup to https://users.rust-lang.org/t/why-does-rustc-require-7gb-of-memory-for-a-medium-size-crate/35506.)
I have a rust project (https://github.com/samuela/rustybox as of 37c0a1d) t…
-
The current binary size of stripe-rs is quite dramatic. I was investigating why the RAM usage of one of my services had increased by 5 MB per instance and I noticed that the binary size of my service …
-
Using VS Code I was browsing to the definitions of memchr for AArch64. I expected to find everything platform specific in src/arc/aarch64. After some head head scratching I figured that the intrinsic …