Microsoft · Oracle · Circle · Apple · Privilege escalation · Buffer overflow · gazagnaire.org
O(x)Caml in Space
Compiled by KHAO Editorial — aggregated from 1 source. See llms.txt for citation guidance.
◌ Single Source
Sequence numbers reject replays, and the pre-shared keys (rotated by OTAR, below) keep the routing path out of the trust path.
Key facts
- Workload: 100 000 batches of 256 CCSDS Space Packet header dispatches each (about 25.6 M packets total), each routed through an [ never] handler so the record genuinely escapes
- Switching to OxCaml with exclave_ stack_ annotations drops p99.9 latency from 29 ns to 9 ns per packet on the dispatch hot path, and removes GC pressure entirely ( 394 minor GCs to zero over 25
- Around 70% of severe CVEs in C/C++ codebases trace to memory corruption (buffer overflows, use-after-free, integer overflows), based on Microsoft's MSRC analysis (2019) and Chromium's 2020 study
- The flight binary is 5-10 MB, statically linked, shipped as a FROM scratch Docker image
Summary
On 23 April, their pure-OCaml CCSDS protocol stack booted up in low Earth orbit! Why does OCaml matter here? KC ended his talk speculating that OCaml 5.0 would go to the moon, due to its language features that would deliver C/Rust-like performance on demand while keeping the mathematical rigour of classic ML. Borealis is a daemon. The protocol stack is a pure-OCaml implementation of CCSDS, the protocol family that links spacecraft to the ground.