tongrams icon indicating copy to clipboard operation
tongrams copied to clipboard

Move as much of things out of headers as possible and make tongrams a shared library

Open KOLANICH opened this issue 4 years ago • 3 comments

KOLANICH avatar Sep 15 '21 12:09 KOLANICH

Hi there, could you provide a description of this feature, and of why this represents an "issue" for you? Thanks.

jermp avatar Sep 15 '21 13:09 jermp

  1. I wanna make the library into a pair of deb packages, one for headers and another one for a shared library. And separate packages for CLI tools using the library.
  2. I also wanna reduce compilation costs.
  3. I also wanna ensure that all the software using the library uses the compatible format. One of the ways tightening it is to make the software use the same shared library. Since the library emits and parses the format, all the apps linked to the same shared library should understand each other.

KOLANICH avatar Sep 15 '21 13:09 KOLANICH

  1. Ok, so what is that you required?
  2. This is a good point.
  3. To do so, external libraries have to use the indexes exposed by Tongrams. No need to understand how the binary file is written; just use the public operations the classes expose.

jermp avatar Sep 16 '21 12:09 jermp