Hacker News new | ask | show | jobs
by pencilcaseman 1151 days ago
Hello!

I am the lead developer of LibRapid, a high-performance array and mathematics library with some additional utility functions.

LibRapid's array class is incredibly intuitive to use while simultaneously achieving performance at or above leading libraries such as Eigen and XTensor. The array library has full support for CUDA, with JIT-compiled kernels and support for cuBLAS and cuFFT. The array library integrates seamlessly with the rest of LibRapid's mathematics functionality. Almost all functions are overloaded for primitive types, multi-precision types, vectors and arrays, enabling a single function to operate on the whole LibRapid ecosystem.

LibRapid has a powerful CMake script capable of finding and linking many popular BLAS libraries, such as OpenBLAS and Intel's OneAPI Math Kernel Library, as well as detecting CUDA support and MPIR and MPFR libraries. Furthermore, the script provides many configuration options to fine-tune LibRapid to your system, further increasing the library's performance.

As mentioned earlier, LibRapid also fully supports multi-precision arithmetic using MPIR and MPFR. If you choose to enable multi-precision (via a CMake option), the CMake script will first search for the relevant libraries already on your system. If they cannot be found, LibRapid will use custom, modified versions of MPIR and MPFR.

LibRapid's vector library is also incredibly powerful, supporting SIMD operations, many functions and an intuitive interface.

In the future, we plan to develop a machine-learning library on top of LibRapid's mathematics and array functionality.

Hopefully, this gives you a brief idea of what LibRapid is capable of. If you have any questions or want to try LibRapid out for yourself, have a look at the links below.

GitHub page: https://github.com/LibRapid/librapid Documentation: https://librapid.readthedocs.io/en/latest/ Discord server: https://discord.gg/cGxTFTgCAC LinkedIn: https://www.linkedin.com/company/librapid/

Thanks! LibRapid Team