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

Implement Thrift runtime for C with ASF compatible dependencies

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      THRIFT-582 provided a C runtime for Thrift that depends heavily on the GLib library. The major advantage of using GLib is that it's cross platform, so the resulting runtime works on both Windows and Linux. However, a big drawback is that GLib has an LGPL license, which bars a lot of people from using it directly or indirectly.

      This JIRA ticket covers the task of writing an alternative C Thrift runtime that depends on the Apache Portable Runtime library instead of GLib. It appears that the major hurdle we need to overcome is APRs lack of an object system (c_glib takes advantage of GObject). I think the same problem was solved during the implementation of Avro's C runtime, and perhaps the struct and inheritance macros that are used in that code could be reused here (and maybe later even contributed back to APR).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cwsteinbach Carl Steinbach
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: