2,934

Downloads

142

Downloads of v 3.2.0

2

Average downloads per day

2017-02-24

Last published

Share on Social Networks

NativeInterop

3.2.0

Provides generic pointer operations for all of .NET, building on the capabilities provided by FSharp.NativeInterop.NativePtr, which this package extends with features like 64-bit capabilities, exposed in an OOP-friendly manner as NativePtr<T> and extension methods to System.IntPtr.

NativeArray, an array-like collection of items of unmanaged (blittable) type allocated on the unmanaged heap, supports 64-bit addressing and item access with and without bounds checks, utilizing the CPU's AGUs for address offset calculation where possible.

The included System.IO.Stream extension methods as well as the Buffer and Structure modules enable easy and efficient handling of structured binary data (convert array types, convert structs, access structs in an element-wise fashion, memcpy...).

To install NativeInterop, run the following command in the Package Manager Console

Install-Package NativeInterop -Version 3.2.0

Release Notes

First release to support SIMD extensions: Install the add-on NuGet package NativeInterop.SIMD to use vectorized operations on NativeArrays.

Note for F# Users: The System.Numerics.Vectors package doesn't work out of the box for F# projects. Make sure to MANUALLY ADD <HintPath>..\packages\System.Numerics.Vectors.4.1.1\lib\net46\System.Numerics.Vectors.dll</HintPath> to the reference in your fsproj file!

NativeArray:
    - added functions resize and resize64 (and corresponding extension methods)
    - more efficient implementation of filter

Owners

Authors

Frank Niemeyer

Tags

Dependencies

Version History

Version Downloads Last updated
NativeInterop 3.2.0 (this version) 142 Friday, February 24, 2017
NativeInterop 3.1.0 127 Monday, November 14, 2016
NativeInterop 3.0.2 61 Monday, November 7, 2016
NativeInterop 3.0.0 63 Friday, November 4, 2016
NativeInterop 2.4.3 135 Sunday, April 17, 2016
NativeInterop 2.4.2 79 Friday, April 15, 2016
NativeInterop 2.4.1 100 Saturday, March 5, 2016
NativeInterop 2.4.0 280 Wednesday, June 3, 2015
NativeInterop 2.3.5 124 Tuesday, April 28, 2015
NativeInterop 2.3.2 205 Wednesday, August 20, 2014
NativeInterop 2.3.1 129 Thursday, July 10, 2014
NativeInterop 2.3.0 121 Wednesday, July 9, 2014
NativeInterop 2.2.1 124 Wednesday, July 2, 2014
NativeInterop 2.2.0 124 Wednesday, July 2, 2014
NativeInterop 2.1.0 126 Friday, June 20, 2014
NativeInterop 2.0.0 135 Friday, May 23, 2014
NativeInterop 1.4.1 122 Sunday, May 18, 2014
NativeInterop 1.4.0 140 Sunday, May 18, 2014
NativeInterop 1.2.1 125 Monday, April 28, 2014
NativeInterop 1.1.1 137 Saturday, April 12, 2014
NativeInterop 1.1.0 119 Saturday, April 12, 2014
NativeInterop 1.0.0 122 Friday, April 11, 2014