Conversation
2a79cd3 to
a330cf8
Compare
mmastrac
added a commit
that referenced
this pull request
May 5, 2026
Broken off from #427 - this is the basic crate structure and supporting macros.
9f686bd to
02c00d5
Compare
02c00d5 to
0e9e658
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the PoC for a new crate built on top of ctor and link-section: scattered-collect.
The idea is:
Why?
Distributed slice is awesome and nearly perfect but it's a static snapshot out of the linker and downstream code occasionally needs more functionality on top of it, ie:
Also, it doesn't support WASM which is a tougher to fix.
Inventory supports pretty much everything, but it's just a
#[ctor]with a linked list and doesn't offer easy random access.TODO
I'll spin some PRs off of this one and slowly land some pieces:
Data types
There are "referenced" and "unreferenced" versions of the slices - the unreferenced versions may be faster as the code is free to re-organize the data more easily.
Const hashing
Platform challenge notes