Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> solves the long compile times

this only goes so far - if you try to eg bind O(10k) methods using nanobind (or pybind ofc) you will be compiling for a very long time. for example, i have a threadripper and with a single large TU (translation unit) it took about 60 minutes (because single TU <-> single thread). i had to "shard" my nanobind source to get down to a "reasonable" ~10 minutes.



>O(10k)

If k means 1000 than O(10000) is the same as O(1). Perhaps you meant "approximately 10k"?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: