🐫 OCaml 5 Is The Language Of The Future

Tom Smykowski
2 min readJan 10, 2023

Speaking about programming languages that finished the 2022 with fireworks. On December, 16, the OCaml team announced the new version of the object oriented Caml implementation.

Parallelism Improves Performance

The new version culminates eight years of rewriting the compiler to achieve the parallel supremacy.

So far, only a few popular programming languages support directly true parallelism. Namely, C#, Java, Go, Clojure and Rust.

OCaml proves it is a strong language aimed for today’s needs. Parallelism makes it possible to execute tasks in parallel on separate cores or processors. It means better consumption of the processing power and faster execution times opening the door for advanced data processing, machine learning and other fields where performance matters gravely.

OCaml also makes it easy to access shared, immutable data in parallel. The OCaml team put a lot of effort into making sure that mutable data access and manipulation works in a predictable way. Even if a race conditions occur.

Effects Make Async Coding Normal

--

--

Tom Smykowski
Tom Smykowski

Written by Tom Smykowski

Software Engineer & Tech Editor. Top 2% on StackOverflow, 3mil views on Quora. Won Shattered Pixel Dungeon.

Responses (10)