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

C#: Real async support

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C# - Compiler, C# - Library
    • None

    Description

      This process would affect both the compiler and the library. The compiler needs to generate real async-await functions, and the library needs to be changed to use the async methods on Socket.

      If this was the default C# library, then the language version required would jump to C# 5, the .NET runtime required would be 4.5, and Mono support would become "beta". I think a better way would be to release a second .NET 4.5 library, with a new language parameter "csharp:5", or a new language "csharp5". I'm more in favor of the former, but it may make the compiler a little hairier to write.

      Attachments

        Activity

          People

            carlyeks Carl Yeksigian
            carlyeks Carl Yeksigian
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: