You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Aurélien Revol (JIRA)" <ji...@apache.org> on 2011/09/16 13:00:09 UTC

[jira] [Commented] (THRIFT-1145) Implement Thrift runtime for C with ASF compatible dependencies

    [ https://issues.apache.org/jira/browse/THRIFT-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105993#comment-13105993 ] 

Aurélien Revol commented on THRIFT-1145:
----------------------------------------

bq. the resulting runtime works on both Windows and Linux

=> No, it does not! The c_glib runtime still depends on POSIX sockets; see [THRIFT-1016 using GSocket in c_glib library | https://issues.apache.org/jira/browse/THRIFT-1016].

So there still is no official way to produce a MinGW-compatible Thrift DLL. Good luck with the APR.

> Implement Thrift runtime for C with ASF compatible dependencies
> ---------------------------------------------------------------
>
>                 Key: THRIFT-1145
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1145
>             Project: Thrift
>          Issue Type: New Feature
>            Reporter: Carl Steinbach
>
> 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).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira