Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4574

Add NanoPb-like support (C language without c_glib required)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Wish List
    • None

    Description

      Thrift has a support for C language called c_glib. This generator creates a stub for C language that uses glib library. glib library is quite a heavy dependency and for some cases (like low level software) is not acceptable. One needs a generator that does not have any dependencies to third-party libs and ideally neither to libc.

      nanopb project tries to achieve it for Protobufs. It would be great to see something similar for Thrift. Here is more information about nanopb http://jpa.kapsi.fi/nanopb/docs/concepts.html

      There is an attempt to implement such generator for Thrift https://github.com/markrileybot/thrift-nano but it might require additional efforts to make the implementation complete and up-to-date.

      Attachments

        Activity

          People

            Unassigned Unassigned
            anatolikus Anatol Pomozov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: