ltptr 0.1.5

Checked raw pointers.
Documentation
  • Coverage
  • 94.74%
    18 out of 19 items documented3 out of 17 items with examples
  • Size
  • Source code size: 15.71 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.55 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SoniEx2

This crate provides "checked" raw pointers.

We found ourselves to be experiencing a lot of cognitive overhead when doing FFI interactions. A non-insignificant portion of them came from raw pointers, as_ptr, as_mut_ptr, and the like. This removes that cognitive overhead.

And as Amos once said, "Until we demand better of our tools, we are doomed to be woken up in the middle of the night, over and over again, because some nil value slipped in where it never should have.". That is, we are doomed to repeat the same mistakes over and over again. So we must demand better of our tools!