zserio icon indicating copy to clipboard operation
zserio copied to clipboard

Are there plans to support smaller generated code?

Open iamjustadd opened this issue 1 year ago • 1 comments

Hi team,

Im now suffering from big size of generated code, actually most code are not useful for me in my client side.

  1. Exception: as I used crc check after received net packages and also used major version as part of my request url when acquiring data, all try/catch code are actually not used in my code.
  2. all WRITE logic are not used in client side code, like setxxx() addxxx().

Do you have plan to shrimp these logic? like add some parameters in jar binary to let user can generate cpp code without throw and WRITE logic?

iamjustadd avatar Sep 23 '24 03:09 iamjustadd

Hello,

thanks for the post.

Maybe, you could use the command line argument -withoutWriterCode for this?

mikir avatar Sep 23 '24 07:09 mikir