Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jcelerier
on April 7, 2021
|
parent
|
context
|
favorite
| on:
All C++20 core language features with examples
but pybind11 makes interop so much more trivial between C++ and python. passing std::vector, std::string, custom types, etc... it all just works and with much less errors possible than the C Python API. Why would you subject yourself to it ?
gumby
on April 7, 2021
[–]
Pybind11 is for "C++11" -- I assume there's no special magic in later revisions that would cause anything to silently fail (i.e. fail at runtime)?
jcelerier
on April 8, 2021
|
parent
[–]
Works just fine here with c++20. it even automatically converts std::variant and std::optional
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: