Skip to content

Conversation

@Sainan
Copy link
Contributor

@Sainan Sainan commented Jul 16, 2025

The crate now only provides a ptr to the shared memory and no locking primitive of its own, which I think is perfectly fine for this use-case as we're only operating on plain old data.

Tested with wooting-analog-midi.

The crate now only provides a ptr to the shared memory and no locking primitive of its own, which I think is perfectly fine for this use-case as we're only operating on plain old data.

Tested with wooting-analog-midi.
@Sainan Sainan mentioned this pull request Jul 16, 2025
@simon-wh
Copy link
Member

Seeing unsafe being introduced is a bit of a red flag, so I need to find some more time to review this a bit deeper (when compared to the other small ones I just merged from you)

@Sainan
Copy link
Contributor Author

Sainan commented Jul 17, 2025

Totally understand. Updating this crate isn't too important, but the older version was incredibly unstable because of the unsafe stuff it did under the hood. I can't really say if it's better or worse now, but at least the ugly stuff is not hidden away anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants