« * K @tarides.com

The Consensus @theconsensus.dev

2026-06-27 17:49 UTC

In most languages, you hunt allocations down with a profiler and they creep back the moment you touch the hot path. Jane Street's superset of OCaml lets you flip that around: annotate a function with [@zero_alloc] and the compiler refuses to build if anything in its call tree touches the heap.

1 picture (not shown on this phone)

49 likes, 9 reposts, 1 replies

3 Next post4 More from @theconsensus.devBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup