You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following a conversation with the ocaml-ctypes maintainer here: yallop/ocaml-ctypes#620 I have worked on a consolidated ocaml-posix module.
This module aims at giving a unified structure to all existing POSIX bindings, with support for both high-level consumer API as well as low-level ctypes APIs.
Also, these modules take advantage of the most recent dune support which, in particular, allows for powerful compilation configuration, including multi-layered builds and config tests. which makes it possible to write all these bindings without writing a single C file. The gist of this scaffolding is described here: https://medium.com/@romain.beauxis/advanced-c-binding-using-ocaml-ctypes-and-dune-cc3f4cbab302
The posix-types module included in ocaml-posix provides the exact same API as this module. Considering that this module has not been updated for a while and that the new one would be a drop-in, consolidated replacement, would you be okay to deprecate this module to be replaced by the new one?
Likewise, the ocaml-ctypes maintainers would deprecated their own PosixTypes module, leading to a single, unified modern implementation.
It is, of course, my intent to give all previous maintainer commit access to the new repository so the work can continue jointly there.
Let me know what you think!
Romain
The text was updated successfully, but these errors were encountered:
Considering that this module has not been updated for a while and that the new one would be a drop-in, consolidated replacement, would you be okay to deprecate this module to be replaced by the new one?
Yes, I'm happy to do that. What do you think is the clearest way of deprecating it in practice? (Are a post-install note in the OPAM file and a note in the README sufficient?)
Hi,
Following a conversation with the
ocaml-ctypes
maintainer here: yallop/ocaml-ctypes#620 I have worked on a consolidated ocaml-posix module.This module aims at giving a unified structure to all existing POSIX bindings, with support for both high-level consumer API as well as low-level ctypes APIs.
Also, these modules take advantage of the most recent
dune
support which, in particular, allows for powerful compilation configuration, including multi-layered builds and config tests. which makes it possible to write all these bindings without writing a single C file. The gist of this scaffolding is described here: https://medium.com/@romain.beauxis/advanced-c-binding-using-ocaml-ctypes-and-dune-cc3f4cbab302The
posix-types
module included inocaml-posix
provides the exact same API as this module. Considering that this module has not been updated for a while and that the new one would be a drop-in, consolidated replacement, would you be okay to deprecate this module to be replaced by the new one?Likewise, the
ocaml-ctypes
maintainers would deprecated their ownPosixTypes
module, leading to a single, unified modern implementation.It is, of course, my intent to give all previous maintainer commit access to the new repository so the work can continue jointly there.
Let me know what you think!
Romain
The text was updated successfully, but these errors were encountered: