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

rust: support writing un-chunked MCAP files #658

Open
james-rms opened this issue Oct 12, 2022 · 2 comments
Open

rust: support writing un-chunked MCAP files #658

james-rms opened this issue Oct 12, 2022 · 2 comments
Assignees
Labels
feature New feature or request rust Related to the rust implementation

Comments

@james-rms
Copy link
Collaborator

james-rms commented Oct 12, 2022

Right now, the rust writer only supports writing chunked MCAP files. It's really useful to be able to write un-chunked MCAP files.

@james-rms james-rms added the feature New feature or request label Oct 12, 2022
@james-rms james-rms changed the title rust: support more writing modes rust: support writing un-chunked MCAP files Oct 12, 2022
@james-rms james-rms added the rust Related to the rust implementation label Oct 12, 2022
@neilisaac
Copy link

I assume the main advantage of non-chunked writing is to implement zero-copy message writing? Is that an implicit requirement?

@james-rms
Copy link
Collaborator Author

Writing without chunks is a good use-case for embedded devices that don't want to maintain a chunk-sized buffer of message data at all times. Zero-copy message writing is also possible with un-chunked MCAP writing, and that would be a really nice feature, but not a requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request rust Related to the rust implementation
Development

No branches or pull requests

3 participants