Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsigned ints #35

Open
ryanmrichard opened this issue Aug 18, 2022 · 1 comment
Open

Unsigned ints #35

ryanmrichard opened this issue Aug 18, 2022 · 1 comment

Comments

@ryanmrichard
Copy link
Member

ryanmrichard commented Aug 18, 2022

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
Copy link
Contributor

keceli commented Jan 17, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants