-
The feature gate for the issue is `#![feature(array_chunks)]`.
Also tracks `as_(r)chunks(_mut)` in `#![feature(slice_as_chunks)]`.
### About tracking issues
Tracking issues are used to record…
lcnr updated
2 months ago
-
Currently, generics are translated using erasure. This means, that generics can only be instantiated with types compatible with `int`. The idea of this proposal is to change the translation and instea…
-
I was trying to write a test with a higher-order function (it won't work of course, I later realized), but it triggered a crash, so posting here
```fstar
module Op
module U32 = FStar.UInt32
//…
-
vtable addresses [may differ cross codegen units](https://github.com/rust-lang/rust/issues/46139). To mitigate this, it would be good to have a lint that warns against comparing wide pointers with vta…
-
The fundamental branchless swap_if code produces suboptimal code on x86-64. I ported it to Rust and noticed that changing it yielded a 50% performance uplift for that function on Zen3, this will of co…
-
I was wondering whether there was a best practive when writing functions that expect arrays, specifically when they are not taking ownership of the array. I couldn't see this being addressed in the d…
-
The following traits have `Sized` as a supertrait:
- `Clone`
- `Default`
- `From`
- `FromStr`
- `Into`
The bound on the first four can be moved from the trait to a method-level where clause, while th…
-
From this:
```fstar
module Inline
module B = LowStar.Buffer
module HST = FStar.HyperStack.ST
module U32 = FStar.UInt32
let test (a : B.buffer U32.t) :
HST.ST U32.t
(requires fun h ->…
-
I've done some initial protoyping for (reified) generics in https://github.com/nikic/php-src/pull/3. I want to discuss some implementation aspects here. Some additional reading on relevant issues:
…
nikic updated
2 months ago
-
Given the RFC 8610 status of CDDL, it may be prudent to track active implementations. Not sure if it is best to list CDDL implementations at http://cbor.io/impls.html or somewhere else, but figured he…