Software Alternatives & Reviews

Scala Lang VS OCaml

Compare Scala Lang VS OCaml and see what are their differences

Scala Lang logo Scala Lang

Scala is a pure-bred object-oriented language that runs on the JVM

OCaml logo OCaml

(* Binary tree with leaves carrying an integer.
  • Scala Lang Landing page
    Landing page //
    2023-07-28
  • OCaml Landing page
    Landing page //
    2023-10-03

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

Scala Lang videos

No Scala Lang videos yet. You could help us improve this page by suggesting one.

+ Add video

OCaml videos

Uncommon Languages: OCaml

More videos:

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

Category Popularity

0-100% (relative to Scala Lang and OCaml)
Programming Language
46 46%
54% 54
OOP
46 46%
54% 54
Generic Programming Language
JVM Programming Language
100 100%
0% 0

User comments

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

Social recommendations and mentions

Based on our record, OCaml should be more popular than Scala Lang. It has been mentiond 30 times since March 2021. 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.

Scala Lang mentions (5)

  • how to setup scala
    I have a new windows 10 and downloaded the Coursier installer from scala-lang.org, the https://docs.scala-lang.org/getting-started/index.html says that you should have either java8 or java11 installed but most tutorials online and posts says to install latest version of java, which java jdk version should I install or does Coursier install it for me or do I choose the latest jdk (java-jdk-19)? Source: over 1 year ago
  • [NEWBIE] Problem with the very first project (Coursier installer, Win 10, Java 8)
    Try manually installing sbt without coursier. The instructions are on https://scala-lang.org. Source: over 1 year ago
  • The “Either” Issue
    I had met the core developers, we had discussing a lot about which technology would better address our demand and, after many considerations, we had chosen Scala. - Source: dev.to / about 2 years ago
  • Next programming language?
    I like scala. It combines object-oriented and functional programming into one high-level language, which makes it fun to learn. I don't know if it is popular in the robotics industry, but it runs on the jvm and can be combined with java, so there is that. I recommend the book "programming scala". Source: over 2 years ago
  • 25 years of OCaml
    Scala with the Typelevel ecosystem. Stay on the jVM, but have a much more pleasant and robust experience, including a great REPL. Source: almost 3 years ago

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: 11 months ago
  • So Hows the Hackathon Going?
    Easier than haskell and easier for writing compilers: https://ocaml.org/. Source: 12 months ago
View more

What are some alternatives?

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

Java - A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible

Rust - A safe, concurrent, practical language

Haskell - An advanced purely-functional programming language

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

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

JavaScript - Lightweight, interpreted, object-oriented language with first-class functions