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

Moving more C++ code to C #60

Open
iboB opened this issue Mar 19, 2023 · 1 comment
Open

Moving more C++ code to C #60

iboB opened this issue Mar 19, 2023 · 1 comment
Labels
capi C-specific issue performance gotta go fast question

Comments

@iboB
Copy link
Owner

iboB commented Mar 19, 2023

Generally a lot of the existing C++ code can be moved to C so that functions could be inlined there as well.

Note extra care must be taken, so that we can maintain exception safety: no extern "C", no function pointer leaks, that would break ODR

Is the effort worth it?

@iboB iboB added question performance gotta go fast capi C-specific issue labels Mar 19, 2023
@iboB
Copy link
Owner Author

iboB commented Apr 8, 2023

If type becomes less opaque, we could have more informative debug information in C (through natvis or other watchers)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
capi C-specific issue performance gotta go fast question
Projects
None yet
Development

No branches or pull requests

1 participant