I just wanted to share these sildes from Yaron Minsky guest lecture at Princeton on “Abstractions and Types for Concurrent Programming”: [pdf] to the COS 326 class and the notes from Cornell’s OCaml course called “Data Structures and Functional Programming”, edit the URL to see notes from different years

“Perf” is a common command line linux tool used for code profiling, (perf wiki). A alpha version of a OCaml native code compiler that output code, that can be analysis by perf is now avalaible in OPAM Installation Installing the perf compatible OCaml compiler is straight forward with OPAM, though quite time-consuming due to the […]

If your taking your first steps in Janestreet’s Async library, here’s some sources of help & support: My top 5 sources of Async Documentation Official Janestreet Docs for Async/Core: https://ocaml.janestreet.com/ocaml-core/latest/doc/ These are generated from the .mli’s in the Async source and you will quickly find places where ocamldoc has failed to cope with Core/Async complex module structure. […]

Now we are going to take a look at manipulating files in OCaml. We will be focusing on the Unix file system. In Unix the term “file” refers to a greater range of objects that you might expect. This includes: standard files like .txt, .html, .doc or .ml directories (or folders if your used to […]

As I’m often adding OCaml code to blog posts I really wanted to find an automatic way to add syntax highlighting. The first solution that I have found is caml2html but I’m still looking for something better … suggestions welcome

This series of articles will follow my journey through “Unix system programming in OCaml”, available as a pdf here. After this series, I hope to move onto a series on Mirage system programming in OCaml and working with Signposts (a framework for managing end-to-end connectivity between devices using DNS infrastructure for signalling) Introducing the Sys […]

What is OPAM ? OPAM is a OCaml Package Manager. Its basic use is similar to apt-get on linux, both package managers help to automate the process of installing, removing and updating software by tracking the complex web of dependencies that exist between bodies of code. Why use OPAM ? OPAM gives the user more […]

I’ve got some code here and here in OCaml & Java, that I have been tasked with running, testing and fixing. I’ve already taken a look at the basic syntax but now its time to get to grips with some the libraries and related packages that Signposts makes use off. THE SERVER IN OCAML […]

Why have I chosen to learn Python ? Its a language sometimes used by my summer research project It works particularly better than other language on the Raspberry Pi I’ve covered the basics of Python before but never gone further than simple syntax Its open source It can be used as a scripting language, which […]