kaitai-io / kaitai_struct

Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby
https://kaitai.io
4k stars 194 forks source link

Cost/Difficulty to implement serialization of C++/Javascript? #1033

Open kairoswater-jason opened 1 year ago

kairoswater-jason commented 1 year ago

This is the only place I see to ask this question. Let me know if I have posted in the wrong spot. The community chatroom associated with this project looks pretty dead.

I see that the NLnet foundation sponsored the implementation of serialization support for Java/Python (https://nlnet.nl/project/Kaitai-Serialization/). We are a company that is looking to estimate the cost or amount of work needed to implement serialization on C++/Java.

Particularly, we are seeking to find out:

Also open to technical discussion of how to accomplish this.

I make no guarantees about how we will handle this. We might sponsor the feature addition, we might do it ourselves, or we might even abandon the effort if it is too difficult or expensive.

generalmimon commented 1 year ago

@kairoswater-jason I've just sent you an e-mail. I would discuss the organizational stuff by e-mail and the technical stuff here.

JocelynLoft commented 7 months ago

Has there been any follow-up on that topic? We are also interested

generalmimon commented 7 months ago

@JocelynLoft:

Has there been any follow-up on that topic?

I got an answer that they were going to "investigate cheaper/faster options" - fair enough, especially C++ won't be that easy.

Of course, eventually we would like to get serialization to all languages, but at the moment no one is working on it to my knowledge, so it will probably not happen for a few years (however, serialization in Go and C# - compiler, runtime is said to be in some state of development, but I haven't looked at these personally, so I can't judge how far the efforts are).

JocelynLoft commented 7 months ago

Thanks for the feedback, could we discuss in DM the cost of a C++ implementation?