XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • Rust
    • None

    Description

      There are ~18 uses of unsafe in ffi.rs and we should document them according to the guidelines in the Arrow crate README

       

      // JUSTIFICATION
      //  Benefit
      //      Describe the benefit of using unsafe. E.g.
      //      "30% performance degradation if the safe counterpart is used, see bench X."
      //  Soundness
      //      Describe why the code remains sound (according to the definition of rust's unsafe code guidelines). E.g.
      //      "We bounded check these values at initialization and the array is immutable."
      let ... = unsafe { ... }; 

      Attachments

        Activity

          People

            Unassigned Unassigned
            andygrove Andy Grove
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: