-
Have you considered an SQLite-style amalgamated sources release? For further ease of deployment? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Not yet, but after discussions we are not sure about the pros/cons. |
Beta Was this translation helpful? Give feedback.
-
My concern is that it'll create two variants of the library. The current version where code such as:
compiles. The second line is redundant, but I've seen it "in the wild". The amalgamated version would not allow the above code instead it would require something like:
The part about this I really dislike is that an instruction such as:
is incorrect and should read:
While HighFive is header only, it's not without dependencies or build-time options, e.g. At a minimum one would need to find Eigen, perform The good news is:
In summary: Personally, I think the advantage this approach usually offers doesn't fully materialize for HighFive. While, the threat of multiple incompatible variants of the same version of HighFive seems real, as does the maintenance effort to keep 3 systems running "everywhere". Additionally, it takes away the ability to move away from header-only, or perform other restructuring of the code that would allow improving compile times (neither is currently being considered). |
Beta Was this translation helpful? Give feedback.
-
To be honest, I was trying to produce a clean single_header in a mechanical way but did not succeed, if you want to give a try, feel free. |
Beta Was this translation helpful? Give feedback.
To be honest, I was trying to produce a clean single_header in a mechanical way but did not succeed, if you want to give a try, feel free.