Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2712

[C#] Initial C# .NET library

    XMLWordPrintableJSON

Details

    Description

      A feature request. I've seen this pop up in a few places. Want to have a record of discussion on this topic. 

      I may be open to contributing this, but first need some general guidance on approach so I can understand effort level. 

      It looks like there is not a good tool available for GObject Introspection binding to .NET so the easy pathway via Arrow Glib C API appears to be closed. 

      The only GObject integration for .NET appears to be Mono GAPI

      http://www.mono-project.com/docs/gui/gtksharp/gapi/

      From what I can see this produces a GIR or similar XML, then generates C# code directly from that. Likely involves many manual fix ups of the XML. Worth a try? 

       

      Alternatively I could look at generating some other direct binding from .NET to C/C++. Where I work we use Swig http://www.swig.org/. Good for vanilla cases, requires hand crafting of the .i files and specialized marshalling strategies for optimizing performance critical cases. 

      Haven't tried CppSharp but it looks more appealing than Swig in some ways https://github.com/mono/CppSharp/wiki/Users-Manual

      In either case, not sure if better to use Glib C API or C++ API directly. What would be pros/cons? 

       

       

       

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Jamie Elliott Jamie Elliott
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m