iceoryx icon indicating copy to clipboard operation
iceoryx copied to clipboard

Refactor Serialization

Open elBoberido opened this issue 3 years ago • 1 comments

Brief feature description

The current cxx::Serialization massively uses std::string. This shall be solved by a refactoring.

Detailed information

To get rid of std::string in our code base, the cxx::Serialization needs to be refactored. Additionally, it should be possible to serialize into a binary format to speed things up and potentially reduce the serialized data size.

This will partly solve #260

Tasks:

  • [ ] create design document
  • [ ] implement cxx::SerDe
  • [ ] replace cxx::Serialization with cxx::Serde

elBoberido avatar Jan 18 '21 12:01 elBoberido

@Dennis40816 this is the corresponding issue for the serialization refactoring.

Some years ago I created a small proof of concept. You can find the commit here -> https://github.com/elBoberido/iceoryx/commit/839a934b8902b12ceb47b1ee595605843dde1a1d

I'm a bit busy today but you can have a look at that code and try to understand what was in my mind :)

elBoberido avatar Jan 17 '24 18:01 elBoberido