pyamrex icon indicating copy to clipboard operation
pyamrex copied to clipboard

[Experiment] Nanobind

Open ax3l opened this issue 2 years ago • 0 comments

What would it take to migrate to nanobind?

Pro's

See advertising, all great :)

Love the

  • speed & size
  • separate headers for features
  • non-header-only approach
  • C++17 and newer only
  • faster builds: no LTO needed anymore

Notes / Con's

  • limited official compiler support (Clang, GCC, MSVC), especially no coverage yet for GPU (Nvidia NVCC & NVHPC, AMD ROCm, Intel OneAPI)
  • still many warnings (e.g., Wshadow, Wpedantic) in base lib
  • ~currently, limited public docs~ improved :)

ax3l avatar May 04 '23 22:05 ax3l