r/cpp • u/_bstaletic • Jun 21 '26
Pymetabind: Writing pybind11 bindings with C++26 reflections
https://codeberg.org/bstaletic/pymetabind/
80
Upvotes
r/cpp • u/_bstaletic • Jun 21 '26
View all comments
Show parent comment
6
u/_bstaletic Jun 21 '26
The massive assumption here is that all language bindings can be satisfied with the greatest common denominator of language features. People will want keyword-only and positional-only arguments in their python bindings, while that's just not a thing in lua (as far as I know). Another example is pybind11's holder types, which aren't a necessary component even in the world of python bindings, but are quite a central piece for pybind11 users.