ocaml-stdint

Various signed and unsigned integers for OCaml (by andrenth)

ocaml-stdint reviews and mentions

Posts with mentions or reviews of ocaml-stdint. We have used some of these posts to build our list of alternatives and similar projects.
  • What was considered problematic with unsigned numeric data types?
    1 project | /r/ProgrammingLanguages | 25 Apr 2022
    Even outside that context, though, I think their comments still have weight: having both signed and unsigned types does add complexity, and (from what I can tell) in many languages, conversions between the two are often poorly documented and/or poorly understood by programmers. Many languages just adopt the behaviour of C – so if the panellists' arguments are a good reason to avoid unsigned ints in C and C++, those same arguments may well apply to the new language. (E.g. Ocaml's "stdint" library library explicitly says that "the semantics of all operations is identical to the Int32, Int64 modules, C, C++, Java etc.") Other languages are unclear about how conversions work. In Haskell, for instance, the only documentation of the fromIntegral function is:

Stats

Basic ocaml-stdint repo stats
1
80
0.0
over 1 year ago

andrenth/ocaml-stdint is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

The primary programming language of ocaml-stdint is OCaml.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com