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

Support "noalloc" and "float" for generated stubs #132

Open
yallop opened this issue Mar 18, 2014 · 0 comments
Open

Support "noalloc" and "float" for generated stubs #132

yallop opened this issue Mar 18, 2014 · 0 comments

Comments

@yallop
Copy link
Owner

yallop commented Mar 18, 2014

Adding the "noalloc" and "float" attributes to generated external bindings where appropriate would improve performance.

The type-based analyses that determine whether a function

are implemented, but have no way of determining whether a C function calls back into the OCaml runtime, violating the invariants. We could add an additional flag to foreign that serves as a promise that the bound function doesn't call back OCaml.

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