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

Make iocamljs tutorial notebook #69

Open
3 tasks
djs55 opened this issue May 31, 2015 · 3 comments
Open
3 tasks

Make iocamljs tutorial notebook #69

djs55 opened this issue May 31, 2015 · 3 comments
Milestone

Comments

@djs55
Copy link
Member

djs55 commented May 31, 2015

To make a 'tutorial' notebook in the style of [avsm/ocaml-dockerfile] we need an implementation of the external functions:

From [mirage/io-page#23]:

  • caml_alloc_pages

From [mirage/ocaml-cstruct#63]:

  • caml_blit_bigstring_to_bigstring
  • caml_blit_bigstring_to_string
  • caml_blit_string_to_bigstring
  • caml_compare_bigstring
  • caml_fill_bigstring

From vchan #71 :

  • stub_atomic_fetch_and_uint8
  • stub_atomic_or_fetch_uint8

From [ocsigen/js_of_ocaml#314]:

  • caml_ba_uint8_{get,set}{16,32,64}

These are still undefined but I don't seem to need them (yet):

  • caml_int32_bswap
  • caml_int64_bswap
  • caml_bswap16

Outstanding issues:

  • use ppx rather than camlp4 (as suggested by @avsm)
  • sane build runes: are they possible?
  • something about security (as suggested by @talex5) -- this might need to be boosted into a top-level issue since the security story is currently weak
@djs55 djs55 changed the title Add .js subpackage? Make iocamljs tutorial notebook May 31, 2015
@djs55
Copy link
Member Author

djs55 commented Jun 1, 2015

Prototype notebook is here:

http://djs55.github.io/ocaml-vchan/#

@hhugo
Copy link

hhugo commented Jun 5, 2015

caml_int32_bswap, caml_int64_bswap, caml_bswap16 are now provided by js_of_ocaml

@djs55
Copy link
Member Author

djs55 commented Jun 5, 2015

Great, thanks!

@djs55 djs55 added this to the v3.0.0 milestone Mar 14, 2016
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

2 participants