Enable the file formats CLI to query input file sizes via Win32 platform APIs#456
Merged
rdw-software merged 2 commits intomainfrom Mar 22, 2026
Merged
Enable the file formats CLI to query input file sizes via Win32 platform APIs#456rdw-software merged 2 commits intomainfrom
rdw-software merged 2 commits intomainfrom
Conversation
No point in adding read/write operations as the arenas don't yet support doing what needs to happen. Will add that shortly (POC already complete, still needs some more cleaning up to merge).
Not super useful, but it doesn't require memory arenas or any other platform APIs. Deferring dealing with STDIN and STDOUT streams as that'll be more complex and not as useful overall. Same for hashing or buffered reading; will need to review the platform API and MSDN docs. There probably isn't one design that works across the board without causing headaches at some point, so I won't even try to design one here.
1ee1a7a to
40ca3f9
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.
Minimal change set to start decoding file contents. Probably have to rework memory arenas and add typed push utilities first. Storing platform APIs inside the header here since it's become clear that the runtime executable needs to be split off (later).
Also introducing a new feature flag (
RAGLITE_DEBUG_ANNOTATIONS) because more introspection is already planned.