ocaml

Tag

Cards List
#ocaml

Hillingar - MirageOS Unikernels on NixOS

Lobsters Hottest · 5d ago Cached

This blog post explains how to enable reproducible deployments of MirageOS unikernels using Nix, integrating functional programming for safer and more efficient network applications like DNS servers.

0 favorites 0 likes
#ocaml

Retrofitting a build system into a compiler

Lobsters Hottest · 2026-08-17 Cached

Lucas Ma has explored using effects in the OCaml compiler to create an on-demand compiler service, allowing for more flexible compilation by inverting control over file lookups and managing global state snapshots.

0 favorites 0 likes
#ocaml

Bonsai: Janestreet's UI Library

Hacker News Top · 2026-08-03 Cached

Bonsai is Jane Street's open-source UI library for building reactive web applications in OCaml, featuring composable state, incremental rendering, and a templating language.

0 favorites 0 likes
#ocaml

Guarded methods in OCaml

Lobsters Hottest · 2026-08-02 Cached

This article explains how to encode guarded methods in OCaml using type equality witnesses, allowing constraints on the receiver only for specific methods rather than the whole class.

0 favorites 0 likes
#ocaml

Xavier Leroy on programming, languages and formal verification

Lobsters Hottest · 2026-07-26 Cached

In an interview, OCaml creator Xavier Leroy discusses the design advantages of OCaml, comparisons with Rust and JavaScript, type inference principles, and the learning difficulty of functional programming.

0 favorites 0 likes
#ocaml

Incremental – A library for incremental computations

Hacker News Top · 2026-07-21 Cached

Incremental is a library from Jane Street for building efficient, self-adjusting computations that react to input changes, useful for spreadsheets, GUI views, and derived data synchronization.

0 favorites 0 likes
#ocaml

Meta Garbage Collection: Using OCaml's GC to GC Rust

Lobsters Hottest · 2026-07-20 Cached

Soteria Rust, a symbolic execution tool for verifying Rust programs, uses OCaml's garbage collector to manage memory for its Tree Borrows aliasing model, achieving a 10x speedup and reducing time complexity from quadratic to linear.

0 favorites 0 likes
#ocaml

@ryanlpeterman: Xavier Leroy (creator of OCaml) is an expert in compilers, formal verification of software and functional programming. …

X AI KOLs Following · 2026-07-20 Cached

Xavier Leroy, creator of OCaml, discusses OCaml's features compared to Rust and JavaScript, formal verification, type inference, and the impact of LLMs on programming in a podcast interview.

0 favorites 0 likes
#ocaml

Why ML/OCaml are good for writing compilers (1998)

Lobsters Hottest · 2026-07-16 Cached

This article from 1998 argues that ML and OCaml are excellent for writing compilers due to features like garbage collection, tail recursion optimization, and algebraic data types with pattern matching, which simplify handling complex compiler data structures.

0 favorites 0 likes
#ocaml

Syntax with Purpose in a Programming Language

Lobsters Hottest · 2026-07-13 Cached

This article explores the importance of syntax design in programming languages, arguing that syntax should accurately reflect the language's computational model and mental model, rather than being arbitrarily cobbled together for familiarity or conciseness. The author analyzes the syntax design of OCaml, Lisp/Clojure, and JavaScript, and introduces his own language Saul, emphasizing uniformity and semantic consistency.

0 favorites 0 likes
#ocaml

The feature in OxCaml that more languages should steal - The Consensus

Lobsters Hottest · 2026-06-27 Cached

OxCaml, Jane Street's superset of OCaml, introduces a `[@zero_alloc]` annotation that forces the compiler to refuse to build if any function in the call tree allocates on the heap, shifting allocation detection from runtime profiling to compile-time enforcement.

0 favorites 0 likes
#ocaml

Type Inference (Part 1)

Lobsters Hottest · 2026-06-26 Cached

A tutorial on type inference covering the Damas-Hindley-Milner type system, unification, and related concepts, with OCaml code examples.

0 favorites 0 likes
#ocaml

OCaml 5.5.0 released

Lobsters Hottest · 2026-06-20

OCaml 5.5.0 has been released.

0 favorites 0 likes
#ocaml

An O(x)Caml book that runs

Hacker News Top · 2026-06-13 Cached

KC Sivaramakrishnan announces an interactive OCaml course book for NPTEL that runs code directly in the browser, eliminating the need for installation and server maintenance.

0 favorites 0 likes
#ocaml

A line-by-line translation of the OCaml runtime from C to Rust

Lobsters Hottest · 2026-06-10

The project details a line-by-line translation of the OCaml runtime from C to Rust, aiming to improve safety and performance.

0 favorites 0 likes
#ocaml

OCaml Onboarding: Introduction to the Dune build system

Hacker News Top · 2026-06-04 Cached

A practical guide introducing the Dune build system for OCaml, covering project setup, building libraries and executables, and testing.

0 favorites 0 likes
#ocaml

Strace-ui, Bonsai_term, and the TUI renaissance

Hacker News Top · 2026-06-02 Cached

Jane Street engineers introduce strace-ui, an interactive terminal UI for strace that simplifies syscall debugging with filtering, PID tracking, and man page integration, and highlight the TUI renaissance enabled by their Bonsai framework.

0 favorites 0 likes
#ocaml

Introducing Incremental

Lobsters Hottest · 2026-05-17 Cached

Jane Street announces Incremental, a library for building self-adjusting computations that efficiently update when inputs change, applicable to online algorithms, GUI construction, and configurable computations.

0 favorites 0 likes
#ocaml

Data race freedom in OxCaml

Lobsters Hottest · 2026-05-16 Cached

OxCaml, Jane Street's fork of the OCaml compiler, introduces compile-time guarantees against data races, enabling sequential consistency without runtime overhead. The blog post explains the new mode axes and their implications for parallel programming.

0 favorites 0 likes
#ocaml

@davidcrawshaw: While the industry is pouring resources into programs without GC (rust), I think the Jane Street OCaml folks have it fi…

X AI KOLs Following · 2026-05-15 Cached

David Crawshaw argues that while the industry invests in Rust's lack of GC, Jane Street's OCaml with OxCaml demonstrates that GC is beneficial for most code paths, with only 1% needing performance optimization.

0 favorites 0 likes
Next →
← Back to home

Submit Feedback