MyNixOS website logo
Description

Cyclic Redundancy Check with CPU-Specific Acceleration.

Hardware-based support for 'CRC32C' cyclic redundancy checksum function is made available for 'x86_64' systems with 'SSE2' support as well as for 'arm64', and detected at build-time via 'cmake' with a software-based fallback. This functionality is exported at the 'C'-language level for use by other packages. 'CRC32C' is described in 'RFC 3270' at <https://datatracker.ietf.org/doc/html/rfc3720> and is based on 'Castagnoli et al' <doi:10.1109/26.231911>.

crc32c: R Bindings for the CRC32C Library

CI License CRAN Dependencies Last Commit

Motivation

CRC32C is a cyclic redundancy check (with parity) implementation based on work by Castagnoli, Brauer, and Hermann that is provided by Google in a repository with optional hardware-acceleration selected at run-time. It is included (minus the parts for logging, testing and benchmarking we would not use from R) 'as is' in the package at src/crc32c/.

This project provides it for use by R. We also aim for this to be an example of how a standalone cmake project providing a library can be offered via an R package for use by R as well as by other R packages.

Usage

The package provides a function direct callable from R.

The package also exports three C-level functions that can be called directly from other R packages by means of a mechanism described in Writing R Extensions.

Authors

For CRC32C itself see the included AUTHORS file file.

For the R package integration and maintenance, Dirk Eddelbuettel

License

For CRCR32C itself see the included LICENSE file file.

The R package integrations is licensed under GPL (>= 2) just like R itself.

Metadata

Version

0.0.2

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows