Tech News
← Home  ·  All topics

Ocaml

4 GoKawiil briefs on this topic · RSS for ocaml

ScopeDB team builds Rust port of Apache DataSketches, reverse-engineers CPC sketch logic

Developers working on ScopeDB's distinct-counting feature moved from Cloudflare's cardinality-estimator crate to Apache DataSketches, then collaborated with other Rust engineers to create datasketches-rust, starting with an HllSketch implementation. The team is now working through CpcSketch, a more space-efficient algorithm based on Kevin J. Lang's 2017 cardinality estimation research, originally implemented in OCaml and Java/C++ but lacking a Rust version.

New OCaml web framework Spindle launched with built-in RFC-strict HTTP engine

A developer has released Spindle, a type-safe web framework for OCaml 5 built on the Eio multicore I/O library. It ships with its own HTTP/1.1 engine implementing RFC 9112, 9110, WebSocket (6455), multipart form (7578) and Structured Fields (9651) specifications, plus end-to-end typed JSON, auto-generated OpenAPI docs, and support for SQLite, Postgres, sessions and observability tooling.

Free English translation of French OCaml programming book released

A book teaching programming using OCaml, originally written in French, has been translated into English by Urmila Nair. The translation was funded by The OCaml Software Foundation and is released under a CC BY SA 4.0 open license, making it freely shareable and adaptable.

AI agents found cohttp path-traversal exploit within minutes of PR being opened

OCaml maintainer Anil Madhavapeddy disclosed a path traversal vulnerability in cohttp 6.3.0 and found that attackers began probing his live server with the exact exploit pattern just minutes after he opened a public GitHub pull request to fix it. He also demonstrated that AI coding agents like DeepSeek V4 Pro could independently rediscover the bug and build a working exploit in under a minute, using only a vague description of the issue.