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

native int #1150

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

native int #1150

wants to merge 2 commits into from

Conversation

anmonteiro
Copy link
Member

No description provided.

@anmonteiro
Copy link
Member Author

  • I think it makes sense to enable nativeint and add a Nativeint module to maximize OCaml compatibility
  • nativeint is a "platform integer" and ints in JS are signed 32 bit, so I think it makes sense to treat nativeints as int32
  • this is mostly just a shim at this point and we can add proper compatibility and operations in future work

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

Successfully merging this pull request may close these issues.

2 participants