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

Take advantage of noexcept for performance and safety #136

Open
roberth opened this issue Apr 26, 2022 · 0 comments
Open

Take advantage of noexcept for performance and safety #136

roberth opened this issue Apr 26, 2022 · 0 comments

Comments

@roberth
Copy link
Collaborator

roberth commented Apr 26, 2022

In C++ code we want to catch exceptions before returning to Haskell, or things don't end well, but some code does not need this overhead.
If we can generate C++ code with a noexcept qualifier on it, we can take advantage of the C++ compiler to enforce this safety condition while allowing us to generate faster code.

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

No branches or pull requests

1 participant