---
title: "Goodbye Core_kernel"
description: "Jane Street merged its Core and Core_kernel OCaml standard libraries by moving the mostly non-portable, Unix-dependent functionality out of Core into standalone libraries and then renaming Core_kernel to Core."
url: "https://swe.quest/articles/goodbye-core-kernel-cd0986a968807099"
canonical: "https://blog.janestreet.com/goodbye-Core_kernel/"
source: "Jane Street Tech Blog"
published: "2021-08-26"
difficulty: "medium"
kind: "Release"
reading_minutes: 2
tags: ["functional-programming","refactoring","open-source"]
---

# Goodbye Core\_kernel

A post on [Jane Street Tech Blog](https://swe.quest/sources/jane-street.md), published 2021-08-26, 2 min read, Release. Original: [https://blog.janestreet.com/goodbye-Core\_kernel/](https://blog.janestreet.com/goodbye-Core_kernel/)

## Summary

Jane Street merged its Core and Core\_kernel OCaml standard libraries by moving the mostly non-portable, Unix-dependent functionality out of Core into standalone libraries and then renaming Core\_kernel to Core. This leaves two libraries: Base, which is light, fast to compile and stable, and Core, which is more extensive. Both are now fully portable to JavaScript and Windows. To migrate, replace Core\_kernel with Core and build with deprecation errors enabled, then follow the deprecation alerts to the new modules such as Date\_unix, Time\_unix, Core\_unix and Command\_unix. The change is not backward compatible, so the opam release plan is still undecided.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Functional programming](https://swe.quest/tags/functional-programming.md) (Languages)
- [Refactoring & migrations](https://swe.quest/tags/refactoring.md) (Engineering practices)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)

## Prerequisites

- OCaml basics ([easy posts on Functional programming](https://swe.quest/tags/functional-programming.md?difficulty=easy))

## Keywords

OCaml, Core, Core\_kernel, Base, opam, Jane Street

## Related posts

- [Bun v1.1.35](https://swe.quest/articles/bun-v1-1-35-9620ac7ed44ebf34.md): Bun · 2024-11-19 · Medium · 7 min read · JavaScript, Runtimes & VMs, Testing
  Bun v1.1.35 adds native Musl libc binaries for Alpine Linux, replacing a glibc compatibility shim.
- [What the interns have wrought, 2021 edition](https://swe.quest/articles/what-the-interns-have-wrought-2021-edition-0f76a8f694a74c7c.md): Jane Street Tech Blog · 2021-08-09 · Medium · 10 min read · Functional programming, Engineering culture, Developer tools, Observability
  Jane Street's 2021 dev internship (87 interns across New York, London and Hong Kong) is showcased through three projects.
- [Using OxCaml to implement type-safe reference counting between OCaml and Python](https://swe.quest/articles/using-oxcaml-to-implement-type-safe-reference-counting-between-ocaml-and-python-6289aa53698f2fb6.md): Jane Street Tech Blog · 2026-06-15 · Hard · 12 min read · Functional programming, Memory management, Type systems, Python
  Wrapping Python objects as OCaml values in PyOCaml ties each object's release to the OCaml GC finalizer, so large data frames or GPU buffers can stay alive long after Python code drops them.
- [Bun v1.1.10](https://swe.quest/articles/bun-v1-1-10-7013099545edcaeb.md): Bun · 2024-05-24 · Medium · 9 min read · JavaScript, Runtimes & VMs, Memory management, Performance engineering
  Bun v1.1.10 fixes 20 bugs, makes uncached bun install on Windows about 2x faster, and cuts fetch() memory use by up to 2.8x by freeing response bodies sooner.
- [CommonJS is hurting JavaScript](https://swe.quest/articles/commonjs-is-hurting-javascript-f7a3d21e2d8d36ce.md): Deno · 2023-06-30 · Easy · 5 min read · JavaScript, Build systems
  CommonJS, born in 2009 from the ServerJS effort to give server-side JavaScript a module system, became Node's default but carries core flaws: synchronous loading, poor tree-shaking, and no native browser support.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
