vector reads and writes
See original GitHub issueI’ve decided to switch the portable vector types RFC to use the ptr::{read,write}
terminology for consistency reasons instead of load and stores. I don’t know if these have to be specified as an “extra” concept in the memory model or not, or whether the RFC should specify their semantics as a sequence of single elements reads and writes.
It would be nice if those working on these parts of the memory model could take a look at the “Reads and Writes” section of the RFC and give me feedback.
Also, at some point we might want to add atomic vector reads and writes, so if these operations need to be specified in the memory model, that might be something worth keeping in mind.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Reading and writing C++ vector to a file - Stack Overflow
I've browsed through the boost::binary_oarchive source code and it seems that it reads/writes the raw vector array data directly from/to the stream buffer....
Read more >Reading And Writing Vector Art - Vecteezy
Browse 7868 incredible Reading And Writing vectors, icons, clipart graphics, and backgrounds for royalty-free download from the creative contributors at ...
Read more >Vector reads and writes - Make Linux Software
The writev call enables you to write multiple discontiguous regions of memory to a file descriptor in a single operation. This is called...
Read more >Reading and writing vectors - GNU Scientific Library
The library provides functions for reading and writing vectors to a file as binary data or formatted text. ... This function writes the...
Read more >Std::vector read/write - C++ Users' Group - HDF Forum
Hi I was wondering if it is possible to read/write std::vector to hdf5. Especially if the size of the array is not known...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@gnzlbg are you fine with closing this as per @rkruppe’s last comment (being subsumed by array layout discussions)?
That seems to be a matter of guaranteeing the layout of some kinds of tuples, not anything to do with vectors in particular.