Hi Giorgio,

If just IDL (Interface description language), then we still implement these
interfaces using different languages.

I do not think protobuf works. It can describe the format of TsFile, but
using protobuf to serialize data maybe not a good idea,
as we then are hard to know the meaning of each byte.

Besides, I am not sure protobuf can provide the best compression.

e.g., the first 12 bytes are magic string + version. If using protobuf, how
to constrain that?

Maybe many fields will have to be defined as bytes (define them as string
will waste space as we know the length of the string).

But maybe we can do some experiments.

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Giorgio Zoppi <giorgio.zo...@gmail.com> 于2020年10月11日周日 下午4:19写道:

> Hello,
> We definitely need an IDL for the TsFile, from the IDL we can define use a
> serialization mechanism that is not language dependent.
> Can TsFile be described with protobuf for example?
> BR,
> Giorgio
>

Reply via email to