-
Notifications
You must be signed in to change notification settings - Fork 12
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
Bound-check and panic somehow? #48
Comments
Yeah, that's because we don't have libjulia, so no error handling. If someone wants to make a PR to try turning it on and using the new error override mechanism from StaticCompiler, we could try it at some point. |
The merged PR you link to is on error handling. I scanned the code, but does it mean it works already? Then bounds-checking too? And if not bounds-checking (but error handling works) then why not? I didn't have in mind fixing error handling (e.g. good stack trace) in general, just |
So that PR means that people can implement overrides to catch errors, potentially including out-of-bounds errors. For common errors additional rules could be implemented either here or there, but the override functionality is quite new and would probably require some trial and error. Turning |
"Consequently,
@inbounds
is always on for" why is that? I'm guessing because of exception handling, and it not supported in general.Since it's so common to NOT us
@inbounds
, would it be possible to have it but replace it in part, have the beck and just "panic", bomb somehow when you would have thrown?The text was updated successfully, but these errors were encountered: