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

Plans for jsoo support #15

Open
monstasat opened this issue Jul 10, 2018 · 2 comments
Open

Plans for jsoo support #15

monstasat opened this issue Jul 10, 2018 · 2 comments
Assignees
Labels

Comments

@monstasat
Copy link

It seems that some internal functions of bitstring library are dependent on C code, so there is no way now to use your lib for web development. Are there any plans to make bitstring compatible with js of ocaml compiler?

@xguerin
Copy link
Owner

xguerin commented Jul 13, 2018

I am not familiar with the requirements to be fully compatible with jsoo, but I'll look into it. Regarding the C part of the library, it only concerns fast paths. So it may be possible to avoid it.

@xguerin xguerin self-assigned this Jul 13, 2018
@xguerin
Copy link
Owner

xguerin commented Jul 24, 2020

Revisiting this comment: It should be possible to provide a dual library version of bitstring, one with the C functions and one in pure ocaml. The latter would be 100% compatible with JSOO. Mirage's checkseum does something like this.

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

No branches or pull requests

2 participants