Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to use byte offset on raw pointers instead of shifts #3

Open
sigrlami opened this issue Jan 24, 2024 · 0 comments
Open

Upgrade to use byte offset on raw pointers instead of shifts #3

sigrlami opened this issue Jan 24, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@sigrlami
Copy link
Owner

Raw pointers (*const T and *mut T) used to primarily support operations operating in units of T. In some cases, working with byte offsets is more convenient, and these new APIs avoid requiring callers to cast to *const u8/*mut u8 first.

For more cleaned API better to switch for that use. Since Rust v1.75.0

@sigrlami sigrlami self-assigned this Jan 24, 2024
@sigrlami sigrlami added the enhancement New feature or request label Jan 24, 2024
@sigrlami sigrlami moved this to Backlog in glaze-mq board Jan 24, 2024
@sigrlami sigrlami added this to the v0.7.1 milestone Jan 24, 2024
@sigrlami sigrlami changed the title Upgrade to use byte offset instead on raw pointers instead of Upgrade to use byte offset on raw pointers instead of shift Jan 24, 2024
@sigrlami sigrlami changed the title Upgrade to use byte offset on raw pointers instead of shift Upgrade to use byte offset on raw pointers instead of shifts Jan 24, 2024
@sigrlami sigrlami moved this from Backlog to In progress in glaze-mq board Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In progress
Development

No branches or pull requests

1 participant