subspace icon indicating copy to clipboard operation
subspace copied to clipboard

A concept-centered standard library for C++20, enabling safer and more reliable products and a more modern feel for C++ code.; Also home of Subdoc the code-documentation generator.

Results 78 subspace issues
Sort by recently updated
recently updated
newest added

Lots of stuff here: https://doc.rust-lang.org/stable/std/vec/struct.Vec.html https://doc.rust-lang.org/stable/std/primitive.slice.html - [x] Slice - [ ] Vec - [ ] https://github.com/chromium/subspace/issues/233 There's some followup optimization work in Slice methods to work with memcpy/memmove when...

enhancement

We have Into to match From, and into() to type deduce the target type of the conversion. We have try_into() methods, but no TryInto concept and no sus::try_into() to do...

design

With Rust traits, it's simple to add methods to a type (or all types that satisfy a trait!) with a trait, so the itertools crate can add a bunch of...

design

`PRINCIPLES.md` says: > No use-after-move. All types abort if they are used after a move. However: ``` TEST(Vec, UseAfterMoveAllowsCreatingBadPointer) { struct T { uint8_t pre_padding[0xBAD'0000]; int field; }; auto x...

design
safety

Like https://doc.rust-lang.org/std/num/index.html They should be NeverValueField types so they don't require an extra bool in Option.

enhancement

Currently the behaviour of operator+= is to check() on overflow. We could provide a compile-time choice to wrap on overflow instead, which would be cheaper perf-wise (no introduction of branches)....

design
unsafety

https://www.deepmind.com/blog/alphadev-discovers-faster-sorting-algorithms Sort: https://reviews.llvm.org/D118029 Hash: https://github.com/abseil/abseil-cpp/commit/74eee2aff683cc7dcd2dbaa69b2c654596d8024e The sorting one is in libc++ but we would like to work with any stdlib, and rely less on stdlib.

enhancement

# Compiler Status Compiler support: ✅ MSVC has "deducing this" support today. ⛔ GCC does not have any support yet. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 🚧 Clang does not have support but cor3ntin is...

design
c++23

Compare https://probablydance.com/2023/04/27/beautiful-branchless-binary-search/ with the algo we copied from the Rust stdlib, on Clang and GCC. Since Clang doesn't compile the linked algo as branchless it's probably not preferrable. Can we...

enhancement

AsRef being singular and AsSlice being plural. Need Mut siblings as well. Many things can produce a ref/slice without _being_ a ref/slice. Vec is a Slice, has Slice methods. But...

design