<p><span class="h-card" translate="no"><a href="https://mastodon.social/@dinosaure" class="u-url mention">@<span>dinosaure</span></a></span> this looks great! thanks for all of the hard work. Have you had to deal with porting much C code (Caml_ba_data_val vs. Bytes_val) ? Having a single slice abstraction for both sounds sensible. I had a go at porting Uring to bytes (ignore the moving in memory issue) and ended up with a copy of Cstruct using bytes (Bstruct!) <a href="https://github.com/patricoferris/ocaml-uring/blob/b43a8ee3a2b4117c50aa53ec20b5255edf5465c5/lib/uring/util.ml" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/patricoferris/ocaml</span><span class="invisible">-uring/blob/b43a8ee3a2b4117c50aa53ec20b5255edf5465c5/lib/uring/util.ml</span></a></p>
Reply