ocaml-ssl icon indicating copy to clipboard operation
ocaml-ssl copied to clipboard

simplify/optimize c interface

Open craff opened this issue 1 year ago • 5 comments

  • a lot of functions that can not block should probably not release the runtime system (like embed_socket or get_file_descr)
  • a lot of functions could be tagged @@noalloc if raising the exception was done on OCaml side (like get_file_descr).

Do we want to provide the apriori fastest possible binding (as long as they remain safe and simple) ?

craff avatar May 17 '23 21:05 craff