Blog

The OCaml Planet

Articles and videos contributed by both experts, companies and passionate developers from the OCaml community. From in-depth technical articles, project highlights, community news, or insights into Open Source projects, the OCaml Planet RSS feed aggregator has something for everyone.

Want your Blog Posts or Videos to Show Here?

To contribute a blog post, or add your RSS feed, check out the Contributing Guide on GitHub.

OCANNL, the `neural_nets_lib` - Lukasz Stafiniak - FUN OCaml 2024

Lukasz Stafiniak's FUN OCaml 2024 talk recording! Overview by Lukasz: Using OCANNL, we will build a toy feed forward network, we will train it, visualize its outputs. We will take a peek at the actual computation generated at various levels of abstraction: tensor node assignments, optimized C-language-like programs, translations to actual C (for CPUs, or CUDA but it is still work-in-progress). Lastly, we will parallelize training across multiple devices. Connect with us Website: https://fun-ocaml.com/ Twitter: https://x.com/FunOCaml Bluesky: https://bsky.app/profile/fun-ocaml.com

20 Nov 2024

FUN OCaml

View Video
Learning OCaml with Tiny Code Xmas - Michael Dales - FUN OCaml 2024

Michael Dales's FUN OCaml 2024 talk recording! Overview by Michael: Each year the demo community run Tiny Code Xmas - using fantasy consoles like TIC-80 and PICO-8 to teach people to do retro graphics effects and size coding. But I didn't want to learn size coding, I wanted to learn OCaml! So for my first OCaml project I built a small fantasy console engine using OCaml, and implemented both Tiny Code Xmas and most of Genuary (generate art January) in it. In this talk I'll show why demo coding suits functional programming, look at how I built my first OCaml library, and show some examples of generative art using it. Tiny Code Xmas: https://tcc.lovebyte.party/ Connect with us Website: https://fun-ocaml.com/ Twitter: https://x.com/FunOCaml Bluesky: https://bsky.app/profile/fun-ocaml.com

20 Nov 2024

FUN OCaml

View Video
Let Signals in OCaml - Rizo Isrof - FUN OCaml 2024

Rizo Isrof's FunOCaml 2024 talk recording! Overview by Rizo: Signals and fine-grained reactivity are two popular concepts in the JavaScript world, thanks to their simplicity, ergonomics and excellent performance. What are signals? What is their type? How can we use them in OCaml? Let's build a reactive UI library from scratch to find out! From simple callbacks, layers are added to support batching, resource cleanup and `let` syntax for composing effects. DOM interactions are implemented to allow predictable, minimal and efficient UI updates. Finally, helix is revealed, a library based on the presented reactivity principles. I review some examples and discuss how helix is used to implement real-world applications at Hyper and Tarides. Find speaker: https://github.com/rizo, https://x.com/rizo_isrof Connect with us Website: https://fun-ocaml.com/ Twitter: https://x.com/FunOCaml Bluesky: https://bsky.app/profile/fun-ocaml.com

20 Nov 2024

FUN OCaml

View Video
A 'Melange' of Tooling Coming Together - Antonio Monteiro - FUN OCaml 2024

Antonio Monteiro's FUN OCaml 2024 talk recording! Overview by Antonio: Melange is a new compiler for OCaml targeting JavaScript. Melange codebases integrate with the OCaml Platform: install from OPAM, build with Dune, preprocess with `ppxlib`, format with OCamlformat and publish with `dune-release`. Merlin, OCaml-LSP and `odoc` work out of the box. In this talk, I will tell you about the Melange success story and give a glimpse of what's coming in the near future. Melange: https://melange.re Connect with us Website: https://fun-ocaml.com/ Twitter: https://x.com/FunOCaml Bluesky: https://bsky.app/profile/fun-ocaml.com

20 Nov 2024

FUN OCaml

View Video
Building Incremental and Reproducible Data Pipelines - Patrick Ferris - FUN OCaml 2024

Patrick Ferris's FUN OCaml 2024 talk recording! Overview by Patrick: We present the good and the bad of building a dataflow engine in OCaml. The engine underpins a complex ecological analysis of avoided deforestation projects in tropical moist rainforests. We will discuss: Onboarding experienced developers who are new to OCaml. - Building an operating system in OCaml to run Python/R code.Developing geospatial libraries and how this benefited from Outreachy internships and the compiler's backwards compatibility. Managing a transition from monadic, asynchronous libraries to direct-style code. This work is part of a multi-year collaboration between the departments of Computer Science, Ecology, Zoology and Geography at the University of Cambridge. Full title: Building Incremental and Reproducible Data Pipelines for Tackling Climate Change Connect with us Website: https://fun-ocaml.com/ Twitter: https://x.com/FunOCaml Bluesky: https://bsky.app/profile/fun-ocaml.com

20 Nov 2024

FUN OCaml

View Video
The Future of Dune - Leandro Ostera - FUN OCaml 2024

Leandro Ostera's FUN OCaml 2024 talk recording! Overview by Leandro: In this talk Leandro Ostera, the PM of OCaml Build System team at Tarides shows the future of developer experience in dune. He will present the new features that are being developed and the roadmap for the next releases. Try the Dune Developer Preview: https://preview.dune.build Connect with us Website: https://fun-ocaml.com/ Twitter: https://x.com/FunOCaml Bluesky: https://bsky.app/profile/fun-ocaml.com

20 Nov 2024

FUN OCaml

View Video
Advanced Code Navigation in OCaml-LSP

Explore advanced code navigation in OCaml with the latest OCaml-LSP updates. Discover features, tips, and best practices to boost your productivity.

20 Nov 2024

Tarides

Read Article