Closed ro-ble closed 4 years ago
Duplicate of #25
repr(metadata)
I learned something new. I wanted to make JDF cross-language as well, so I will need to assess. Thanks
I will close it for now as repr
doesn't support cross-language as well BSON
Hi Xiaodaigh,
Currently, the metadata of a JDF file is stored using Serialization.jl. Reading the metadata is fast and performat. However it is not guaranteed to be readable across Julia versions. From my understanding, the metadata file is crucial for reading the JDF file. Therefore, it would make sense to use a version stable serialization for the metadata file.
The main benefit of Serialization.jl is, that it already ships with Julia. There is no need to use an additional Package for reading the metadata. Using JSON/BSON for that purpose would probably decrease speed and increase compile times and dependencies. As an alternative to that, I made some experiments:
What do you think about that? It uses NamedTouple syntax and would most probably be version stable. I am curious about how this would perform compared to JSON/BSON.