ICFP 2021 (series) / OCaml 2021 (series) / OCaml 2021 /
OCaml and Python: Getting the Best of Both Worlds
In this talk we present how we expose a wide variety of OCaml libraries and services so that they can be accessed from Python. Our initial use case on the Python side consisted in Jupyter notebooks used to analyse various datasets, these datasets being handled by OCaml libraries. However we extended this to provide lots of other OCaml libraries to Python users, e.g. exposing the Time_ns module from Core to provide a robust timestamp library, manipulating holidays, etc. Our Python bindings are written entirely in OCaml and interface well with some Python libraries such as NumPy or Pandas that are commonly used for data manipulation. In order to make writing such bindings easier, we wrote some specific library as well as a PPX extension.
Fri 27 AugDisplayed time zone: Seoul change
Fri 27 Aug
Displayed time zone: Seoul change
16:00 - 17:30 | |||
16:00 30mTalk | GopCaml: A Structural Editor for OCaml OCaml Kiran Gopinathan National University of Singapore File Attached | ||
16:30 30mTalk | OCaml and Python: Getting the Best of Both Worlds OCaml Laurent Mazare Jane Street | ||
17:00 30mTalk | Adapting the OCaml ecosystem for Multicore OCaml OCaml Sudha Parimala Segfault Systems, Enguerrand Decorne Tarides, Sadiq Jaffer Opsian and OCaml Labs, Tom Kelly OCaml Labs, KC Sivaramakrishnan IIT Madras File Attached |