hkaiser changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar-group.org | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | This channel is logged: irclog.cct.lsu.edu
K-ballo has quit [*.net *.split]
K-ballo has joined #ste||ar
hkaiser has quit [Quit: Bye!]
Yorlik has joined #ste||ar
hkaiser has joined #ste||ar
<Yorlik>
hkaiser: YT?
<hkaiser>
Yorlik: here
<Yorlik>
Could the buffer used to create an output archive be const& instead of & only?
<Yorlik>
Just tracking down an error with my serialization - probably not HPX related
<hkaiser>
how could it? it will be changed by the archive
<Yorlik>
Argh - damn you're right
<Yorlik>
But the arch just uses it, I still own it when the archive is gone , right?
<hkaiser>
the buffer still owns the data, the archive just refers to it - so the buffer must outlive the archive
<Yorlik>
OK - so - that possible source of error / misuse is eliminated - :)
<Yorlik>
hkaiser: Using the archive is FiFo or LiFo?
<hkaiser>
data is being added to the end of the buffer during serialization
<Yorlik>
So it's FiFo.
<Yorlik>
Start at thr start , end at the end.
<hkaiser>
well yes
<Yorlik>
OK. Thanks!
<hkaiser>
lifo would mean that the de-serialization works against the buffer content, that wouldn't make sense