thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (THRIFT-3773) Swift Library
Date Fri, 30 Mar 2018 15:15:00 GMT


ASF GitHub Bot commented on THRIFT-3773:

Github user yurikoles commented on the issue:
    Hi @apocolipse,
    Please consider taking into account usage of reserved keywords in *.thrift files. For
example back end developers may use field with name `description` in their structures. And
this same keyword then redefined in generated extension file. This causes compile errors.

> Swift Library
> -------------
>                 Key: THRIFT-3773
>                 URL:
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Swift - Library
>            Reporter: Thomas Bartelmess
>            Assignee: Chris Simpson
>            Priority: Major
> We already have the option to generate Swift code in the Cocoa compiler, however large
parts of the (Objective-C) Cocoa Library still depend on Cocoa and  Objective-C.
> It would be good to have a native Swift library that doesn't depend on the Cocoa libraries.
> Design goals:
> - Fully compatible with the code that is currently generated by the Cocoa compiler (both
Objective-C and Swift).
> - Ability to run on Linux
> - Pure Swift, no Objective-C code.
> - No dependencies on closed source apple libraries
> - Keep the same interface, so that the library is compatible with the code the current
cocoa compiler generates
> - Better server support that the current Objective-C library.
> - Follow the new Swift packaging format to be compatible with the Swift Package manager

This message was sent by Atlassian JIRA

View raw message