awesome-ocaml VS reason

Compare awesome-ocaml vs reason and see what are their differences.

awesome-ocaml

A curated collection of awesome OCaml tools, frameworks, libraries and articles. (by ocaml-community)

reason

Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems (by reasonml)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Truly a developer’s best friend
  • talent.io - Download talent.io’s Tech Salary Report
awesome-ocaml reason
2 27
2,287 9,725
0.6% 0.3%
1.0 5.8
4 months ago 3 months ago
OCaml
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

awesome-ocaml

Posts with mentions or reviews of awesome-ocaml. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-05.

reason

Posts with mentions or reviews of reason. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-31.
  • Scala-esque functional frontend languages?
    3 projects | reddit.com/r/Frontend | 31 Aug 2022
    Reason
  • Ask HN: Learning Functional Programming in 2022?
    2 projects | news.ycombinator.com | 3 Aug 2022
    Sounds like you are mostly frontend. I can highly recommend ReScript https://rescript-lang.org/

    I learned a lot about functional programming from it.

    It is a more frontend focussed https://reasonml.github.io/ which is all based on OCaml. It has the same awesome type system and all the FP goodies while providing easy TS/JS interop and convenient escape hatches.

    It compiles (very fast) to highly efficient readable JS that you can use wherever.

  • A language which is basically "Haskell with C-Style syntax"?
    3 projects | reddit.com/r/ProgrammingLanguages | 25 Jul 2022
    Reason may be the nearest thing to what you are asking for: It is essentially OCaml, but it trades the traditional ML syntax for a JavaScript-inspired (aka C-like) syntax.
    3 projects | reddit.com/r/ProgrammingLanguages | 25 Jul 2022
  • SpaceVim Release v2.0.0
    6 projects | news.ycombinator.com | 6 Jul 2022
    You can read about the ReScript change here: https://rescript-lang.org/blog/bucklescript-is-rebranding

    I wouldn't go so far as GP as to call it "drama", but the split left Reason without a reason (pun intended) to exist or any activity for that matter. Most of the people who liked Reason for frontend usecases moved to ReScript since that at least had some momentum behind it. Since the split, Reason itself has been largely on life support, with no significant changes and almost no forum activity in the past year. So newcomers to Reason see a dead community for a language which is a syntax extension for another language with a (relatively) alive community. The fact that Reason hasn't seen a surge in enthusiasm corresponding to the enthusiasm in the OCaml community with the advent of 5.0 and multicore is proof enough that Reason is dead, and projects written in Reason should probably consider moving to OCaml entirely considering there are planned changes to the OCaml syntax for effects which I don't think are going to make it to Reason.

    Some people in the Reason world blame the ReScript people for this, which I think is entirely misplaced. The only reason (pun not intended this time) Reason has died off is that there is absolutely no clarity on the future of Reason. The creator of Reason, Jordan Walke, has been entirely MIA for about two years now. A version 4.0 was planned in 2020 and as of now hasn't come up. This issue was opened in Nov 2020 asking for future plans and is still unresolved, and the latest comment from a new developer just makes my point: https://github.com/reasonml/reason/issues/2634.

  • Editor Support for ReasonML in VSCode with Melange
    3 projects | dev.to | 31 May 2022
    I have been trying for a long while now to work with ReasonML files in VSCode and get some syntax highlighting. This has been a problem since ReasonML on the frontend has moved on to Rescript. The solution would be using Melange but I could not get the editor highlighting to work. I have a bunch of old ReasonML projects that I still refer to so losing the editor support has been less than ideal. The code still works but you are stuck relying on the terminal output for errors.
  • Real World OCaml – Functional programming for the masses
    4 projects | news.ycombinator.com | 5 May 2022
  • Is OCaml the "Go" of Functional Programming Languages?
    4 projects | reddit.com/r/ocaml | 29 Apr 2022
    Just one tip: if you have any trouble with ocaml , the language has an alternative syntax made by Facebook called ReasonML that aims to make the language easier for people coming from other languages. This helped me a lot when I was learning ocaml.
  • Standard ML Family
    4 projects | news.ycombinator.com | 16 Apr 2022
    ReasonML isn't listed as well [0], but I see that it was last updated on Mon Sep 7 17:22:16 PDT 2015

    [0] https://reasonml.github.io/

  • Differences between TypeScript and Elm
    7 projects | dev.to | 5 Feb 2022
    Alternative to Elm can be PureScript, ClojureScript, ReasonML, ReScript, and other languages that compile to JavaScript. There are also newer and interesting languages that are still in an explorative state like Ren or Derw.

What are some alternatives?

When comparing awesome-ocaml and reason you can also consider the following projects:

purescript - A strongly-typed language that compiles to JavaScript

rescript-compiler - The compiler for ReScript.

melange - A mixture of tooling combined to produce JavaScript from OCaml & Reason

js_of_ocaml - Compiler from OCaml to Javascript.

ocamlformat - Auto-formatter for OCaml code

refterm - Reference monospace terminal renderer

parallel-programming-in-multicore-ocaml - Tutorial on Multicore OCaml parallel programming with domainslib

sqlite3-ocaml - OCaml bindings to the SQLite3 database

pydantic - Data parsing and validation using Python type hints

Elm - Compiler for Elm, a functional language for reliable webapps.

Statsd - Daemon for easy but powerful stats aggregation

Godot - Godot Engine – Multi-platform 2D and 3D game engine