Software Alternatives & Reviews

OCaml VS Clojure

Compare OCaml VS Clojure and see what are their differences

OCaml logo OCaml

(* Binary tree with leaves carrying an integer.

Clojure logo Clojure

Clojure is a dynamic, general-purpose programming language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming.
  • OCaml Landing page
    Landing page //
    2023-10-03

We recommend LibHunt OCaml for discovery and comparisons of trending OCaml projects.

  • Clojure Landing page
    Landing page //
    2023-09-19

We recommend LibHunt Clojure for discovery and comparisons of trending Clojure projects.

OCaml videos

Uncommon Languages: OCaml

More videos:

  • Review - What is Ocaml?
  • Review - OCaml – The Best Coding Language for Blockchain – Dr. Dray at Tezos LA

Clojure videos

What is the business value of Clojure?

More videos:

  • Review - Blog in Clojure Code Review
  • Review - Clojure Web App Code Review

Category Popularity

0-100% (relative to OCaml and Clojure)
Programming Language
39 39%
61% 61
OOP
42 42%
58% 58
Generic Programming Language
Dynamic Programming Language

User comments

Share your experience with using OCaml and Clojure. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Clojure might be a bit more popular than OCaml. We know about 36 links to it since March 2021 and only 30 links to OCaml. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

OCaml mentions (30)

  • Bringing more sweetness to ruby with sorbet types 🍦
    If you have been in the Ruby community for the past couple of years, it's possible that you're not a super fan of types or that this concept never passed through your mind, and that's totally cool. I myself love the dynamic and meta-programming nature of Ruby, and honestly, by the time of this article's writing, we aren't on the level of OCaml for type checking and inference, but still, there are a couple of nice... - Source: dev.to / 7 months ago
  • Notes about the ongoing Perl logo discussion
    An amazing example is Ocaml lang logo / mascot. It might be useful to talk with them to know what was the process behind this work. The About page camel head on Perl dot org header is also a pretty good example of simplification, but it's not a logo, just a friendly illustration, as the O'Reilly camel is. Another notable logo for this animal is the well known tobacco industry company, but don't get me started on... - Source: dev.to / 10 months ago
  • What can Category Theory do?
    Haskell and Agda are probably the most obvious examples. Ocaml too, but it is much older, so its type system is not as categorical. There is also Idris, which is not as well-known but is very cool. Source: 10 months ago
  • Key takeways from OpenAI CEO's 3-hour Senate testimony, where he called for AI models to be licensed by US govt. Full breakdown inside.
    NEAT is a fascinating algorithm. I've been interested in it ever since SethBling made a video about it playing Mario and this series of experiments about a variant of NEAT that evolves in real-time rather than by-generation. I'm finally getting to be just good enough of a programmer that I am actually considering writing my own (probably in OCaml because there's an unfortunate lack of NEAT implementations in... Source: 12 months ago
  • So Hows the Hackathon Going?
    Easier than haskell and easier for writing compilers: https://ocaml.org/. Source: 12 months ago
View more

Clojure mentions (36)

  • Let's write a simple microservice in Clojure
    This article will explain how to write a simple service in Clojure. The sweet spot of making applications in Clojure is that you can expressively use an entire rich Java ecosystem. Less code, less boilerplate: it is possible to achieve more with less. In this example, I use most of the libraries from the Java world; everything else is a thin Clojure wrapper around Java libraries. - Source: dev.to / 3 days ago
  • A new F# compiler feature: graph-based type-checking
    I have a tangential question that is related to this cool new feature. Warning: the question I ask comes from a part of my brain that is currently melted due to heavy thinking. Context: I write a fair amount of Clojure, and in Lisps the code itself is a tree. Just like this F# parallel graph type-checker. In Lisps, one would use Macros to perform compile-time computation to accomplish something like this, I think.... - Source: Hacker News / 6 months ago
  • Ask HN: Why does the Clojure ecosystem feel like such a wasteland?
    As an analogy - my face hasn't changed all that much in a past few years, and I haven't changed my profile picture in those few years. Does it really mean that I'm unmaintained/dead? > Where can I find latest documentation [...]? The answer is still https://clojure.org/. And https://clojuredocs.org/ but it's community-maintained so might occasionally be missing some things right after they're released. E.g. As of... - Source: Hacker News / 8 months ago
  • Best implementation of CL for learning purposes
    As a Java/Scala user you should check out Clojure! It is highly recommended (https://clojure.org). Source: about 1 year ago
  • Why I decided to learn (and teach) Clojure
    Lisp is not a programming language, but a family of languages ​​with many dialects. The most famous dialects include Common Lisp, Clojure, Scheme and Racket. So after deciding that I was going to learn Lisp, I had to choose one of its dialects. - Source: dev.to / about 1 year ago
View more

What are some alternatives?

When comparing OCaml and Clojure, you can also consider the following products

Rust - A safe, concurrent, practical language

Elixir - Dynamic, functional language designed for building scalable and maintainable applications

Python - Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.

Go.CD - Open source continuous delivery tool allows for advanced workflow modeling and dependencies management.

Haskell - An advanced purely-functional programming language

NIM - GB64.COM is the home of The Gamebase Collection of C64 games.