Open monstasat opened 6 years ago
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.
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.
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?