<div>- A safe resource wrapper so that any type can be created as a resource.</div></div><div><br></div><div>Source and documentation here:</div><a href="https://github.com/goertzenator/nifpp" target="_blank">https://github.com/goertzenator/nifpp</a><div>

<br></div><div>I need to polish, test and document binary support, but the rest of it is in good shape so I'm sharing it now.</div><div><br></div><div>Below are links to C and C++ versions of an identical tuple manipulation operation. The C++ version is [imho] easier to understand, and it actually benchmarks slightly faster than the C version on most of my runs.</div>

<div><br></div><div><br></div><div><br></div><div>And here is an example of resource wrapping. The Boost class "mapped_file_source" which provides portable file memory mapping is instantiated as an Erlang resource.</div>