NWChemEx / .github

GitHub Settings for the NWChemEx Organization
https://nwchemex.github.io/.github/
Apache License 2.0
1 stars 2 forks source link

Unsigned ints #35

Open ryanmrichard opened 2 years ago

ryanmrichard commented 2 years ago

The C++ APIs use unsigned integers all over the place. Python, however, does not have an easy way to declare unsigned integers. This makes auto conversions from Python to C++ painful in a number of places. Somehow we need to provide Python users nicer ways to interact with these APIs without sacrificing the non-negative guarantee the unsigned integer type provides to the C++ code.

This issue affects a number of repos, so I just put it in the .github repo. If there's a better place for it feel free to move it.

keceli commented 1 year ago

Since I mentioned today, I just wanted to put the links for Google C++ style guide on integers and the discussion about it for reference. Note that chromium style guide has a different point of view.