Software Alternatives & Reviews

MLton VS Rust

Compare MLton VS Rust and see what are their differences

MLton logo MLton

MLton is an open-source, whole-program, optimizing Standard ML compiler

Rust logo Rust

A safe, concurrent, practical language
  • MLton Landing page
    Landing page //
    2021-12-25
  • Rust Landing page
    Landing page //
    2023-05-09

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

MLton videos

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

+ Add video

Rust videos

Rust Crash Course | Rustlang

More videos:

  • Review - Why You Should & Shouldn't Learn the Rust Programming Language
  • Review - All About Rust

Category Popularity

0-100% (relative to MLton and Rust)
OOP
10 10%
90% 90
Programming Language
8 8%
92% 92
Generic Programming Language
IDE
100 100%
0% 0

User comments

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

Reviews

These are some of the external sources and on-site user reviews we've used to compare MLton and Rust

MLton Reviews

We have no reviews of MLton yet.
Be the first one to post

Rust Reviews

Top 5 Most Liked and Hated Programming Languages of 2022
A survey by Stack Overflow reveals that about 83.5% of 90000 developers loved Rust and tagged it to be the most adorable programming language. Rust is that general-purpose programming language that mainly caters to excellent performance and safety. This multi-worldview programming language has syntax similar to that of C++.
Top 10 Rust Alternatives
Several programming languages like Rust are among the popular ones. However, people are in search of some good alternatives to Rust. Therefore, today we will be talking more about the top 10 alternatives to Rust.
The 10 Best Programming Languages to Learn Today
Rust is a fairly advanced language, so you'll want to master another language or two before learning Rust. But you'll find that learning Rust pays off generously. The average salary for a Rust developer in the U.S. is $105,000 per year.
Source: ict.gov.ge

Social recommendations and mentions

Based on our record, Rust should be more popular than MLton. It has been mentiond 44 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.

MLton mentions (5)

  • Simple JSON parser in c++, rust, ocaml, standard ml
    Once I got the parser ready in OCaml, I thought I port it to Standard ML, since it belong to the same ML language family. I was also curious on how well mlton could optimise it. The language lacks custom let bindings, so I resorted to use Result.bind manually. This makes code much less readable and more verbose. The standard library also lacks result type, so I had to come up with my own simple implementation.... - Source: dev.to / about 1 year ago
  • Ante: A low-level functional language
    If you’re fine with tracing GC (which depends on the situation, of course), Standard ML is a perfectly boring language (that IIUC predated and inspired Caml) and MLton[1] is a very nice optimizing compiler for it. The language is awkward at times (in particular, the separate sublanguage of modules can be downright unwieldy), and the library has some of the usual blind spots such as nonexistent Unicode support... - Source: Hacker News / almost 2 years ago
  • Write your own programming language in an hour with Chumsky
    Unfortunately, I haven't found a ton of "easily-digestible" and, at the same time, comprehensive guides on compiling functional languages. Generally you'll find a mix of blog posts/class notes/papers covering a single step. Some resources I like: - Andrew Kennedy's 2007 paper Compiling with Continuations, Continued [1]. This one is the most clear IMO - Andrew Appel's Compiling with Continuations book... - Source: Hacker News / about 2 years ago
  • Why are imperative programs considered faster than their functional counterparts?
    More broadly, they can be fast even without such extensions if they aggressively pursue optimization opportunities afforded by static typing, like MLton for example, but that also impacts compilation performance negatively. Source: over 2 years ago
  • Coalton: How to Have Our (Typed) Cake and (Safely) Eat It Too, in Common Lisp
    According to the OP, it's from http://mlton.org/ (see https://coalton-lang.github.io/20211010-introducing-coalton/#acknowledgements ). - Source: Hacker News / over 2 years ago

Rust mentions (44)

  • Learning Rust: Enumerating Excellence
    Let's dive back into Rust! This time we're going to be going through the lesson called "Enums and Pattern Matching". We're going to be looking at inferring meaning with our data, how we can use match to execute different code depending on input and finally we'll have a look at if let. - Source: dev.to / about 2 months ago
  • Writing your own CLI in rust
    We will be using rust. Rust is a very simple to use memory and type safe language that is excellent for building cool and reliable CLI’s. In fact it has quickly become the number one tool for building CLI’s. I’ll dive into more on why rust CLI’s are good in a future blog post, so stay tuned for that. So, with that, let’s get our project set up. Install rust on your machine if you have not already. You can do so... - Source: dev.to / 8 months ago
  • RUST Indian clan
    This is the subreddit of the Rust programming language. You’re welcome to start learning it, but the subreddit you’re looking for is r/playrust. Source: 11 months ago
  • Rust slogans?
    The Rust Project certainly has slogans. The web site says, for example:. Source: about 1 year ago
  • My first usable rust project: a simple local http server. Mainly posting here to get feedback:)
    Hello rustaceans, this is my first usable rust project which is a simple local http server. Posting here to get feedback on what I have done incorrectly or not in a idiomatic way and how to fix them in a idiomatic way. Cheers :). Source: about 1 year ago
View more

What are some alternatives?

When comparing MLton and Rust, you can also consider the following products

OCaml - (* Binary tree with leaves carrying an integer.

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

SML/NJ - Standard ML of New Jersey: compiler and runtime environment with REPL

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

Poly/ML - The Poly/ML implementation of Standard ML – full multiprocessor support in the thread library and garbage collector, interactive debugger, fast compiler.

Haskell - An advanced purely-functional programming language