# OxCaml

17 Hacker News commenters recommended OxCaml and 3 criticized it, November 2025 to November 2026. It was recommended in 7 of 13 months. It meets the Hacker Approved badge rule.

**Verdict:** Jane Street's production OCaml compiler fork adds modes and zero-allocation features for safety and performance, though its interfaces are still emerging and it still needs a runtime.

## Why people recommend it

- Strong types and modes (4 comments): "That is exactly what OxCaml's mode system gives you: zero minor GCs on the dispatch loop in the post" ([source](https://news.ycombinator.com/item?id=48150572)) "OxCaml's strong types and modes seem to serve as great testable oracles to guide the agents." ([source](https://news.ycombinator.com/item?id=48148367)) "reminds me a lot of modes from Jane Street’s OxCaml which is really interesting to me" ([source](https://news.ycombinator.com/item?id=50047245))
- Zero-allocation and performance features (3 comments): "That is exactly what OxCaml's mode system gives you: zero minor GCs on the dispatch loop in the post" ([source](https://news.ycombinator.com/item?id=48150572)) "you can write very high-performance code that effectively never uses a GC" ([source](https://news.ycombinator.com/item?id=46567655)) "I really liked OxCaml's zero_alloc feature" ([source](https://news.ycombinator.com/item?id=50294088))
- Ergonomic and safe high-level language (3 comments): "OxCaml is inspiring me lately as it's an ergonomic high-level language that also represents the machine." ([source](https://news.ycombinator.com/item?id=46656701)) "OxCaml shows you can have safety and ergonomics together" ([source](https://news.ycombinator.com/item?id=48148450)) "they are a lot more ergonomic than Rust's approach" ([source](https://news.ycombinator.com/item?id=49051628))
- Active improvements and tooling (3 comments): "The Jane Street work on OxCaml is terrific after a long period of stagnation with the language." ([source](https://news.ycombinator.com/item?id=46877026)) "The folks over at Jane Street have put a lot of effort into tooling recently." ([source](https://news.ycombinator.com/item?id=46435523)) "great to see the OCaml improvements" ([source](https://news.ycombinator.com/item?id=48151963))

## Alternatives hackers recommend

- [GCC](https://hackerapproved.com/p/gcc.md): 138 recommend
- [Clang](https://hackerapproved.com/p/clang.md): 74 recommend
- [Free Pascal compiler](https://hackerapproved.com/p/free-pascal.md): 38 recommend
- [GraalVM Native Image](https://hackerapproved.com/p/graalvm-native-image.md): 31 recommend
- [.NET Native AOT](https://hackerapproved.com/p/net-native-aot.md): 26 recommend

## Cite as

Hacker Approved, "OxCaml", https://hackerapproved.com/p/oxcaml/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
