Bug 2547649 - Review Request: ocaml-bstr - Synthetic library for OCaml bigstrings
Summary: Review Request: ocaml-bstr - Synthetic library for OCaml bigstrings
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2547654
TreeView+ depends on / blocked
 
Reported: 2026-10-07 20:24 UTC by Jerry James
Modified: 2026-10-07 20:29 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jerry James 2026-10-07 20:24:36 UTC
Spec URL: https://jjames.fedorapeople.org/ocaml-bstr/ocaml-bstr.spec
SRPM URL: https://jjames.fedorapeople.org/ocaml-bstr/ocaml-bstr-0.1.1-1.fc46.src.rpm
Fedora Account System Username: jjames
Description: This small set of libraries offers a homogeneous API between 2 types and their derivations with the slice type, as well as a small DSL for decoding "packets" (such as ARP or DNS) without too much difficulty.

The aim is to homogenize the 2 types bytes and bigstring and to derive them with a slice type, giving the user all the levers needed to manipulate byte sequences, whether in the form of a bigstring or bytes.  The slice view avoids copying when it comes to decoding a packet and extracting a sub-part.  The slice also applies to bigstrings, whose Bigarray.Array1.sub is more expensive.

This set of libraries is a synthesis of astring (which offers a range of useful functions as well as slice), cstruct (which offers a similar API for bigstrings), bigstringaf (which offers some other useful functions), the standard OCaml library and repr for decoding/encoding these values into OCaml records/variants.

I am willing to swap reviews.


Note You need to log in before you can comment on or make changes to this bug.