T2: JaneStreet's OCaml Core Library

  • Yaron Minsky Jane Street
September 22, 2011 9:00 AM - 12:30 PM

Abstract

Jane Street's Core library is an industrial-strength alternative to the OCaml standard library. Core is designed with consistency, explicitness and efficiency in mind. This tutorial will cover:

Core

An overview of the main library, including:

Syntax Extensions:

A review of the the syntax extensions included in Core and how to use them effectively. The extensions to be covered are:

Core_extended:

In addition to giving an overview of the Core and how to make the most of it, we'll cover Core_extended, which is a set of extensions to core that are less stable, but still highly useful. Notable among those libraries is:

Audience

The class will not teach OCaml proper, so attendees should already know the basic constructs of the language, and be comfortable writing short programs in it. Beyond a facility with the concepts of functional programming, no further experience is required.

Preparation

Note: This is the same VM as for the T3: Building a Functional OS.

You'll need:

Click Import Appliance from the File menu, and select the .ova file. After it imports the file, click on CUFP Core and Mirage Tutorials, and click the green Start arrow.

The user account is cufp, and the password is cufp2011. Log in, and type /sbin/ifconfig to figure out what the internet address of the virtual image is. It should be the one associated with eth1. Then ssh to the box as cufp and log in. All the software you should need is installed on the virtual machine.

You can also direct a web-browser at the virtual host. You'll find ocamldoc documentation for the Core libraries there.

Alternate preparation

If you have trouble with virtualbox, you can install OCaml and the relevant packages on their own. Here are the packages you should get, and the order of installation:

All of Jane Street's packages can be found here.

Yaron Minsky

is the head of the technology group at Jane Street, a proprietary trading firm that uses OCaml as its primary development language. Yaron got his PhD in Computer Science at Cornell in 2002, where his research was focused on probabilistic algorithms for distributed systems.