Software Alternatives & Startups

MLton

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

MLton

MLton Reviews and Details

This page is designed to help you find out whether MLton is good and if it is the right choice for you.

Screenshots and images

  • Landing page //
    2021-12-25

Features & Specs

  1. Performance

    MLton is known for producing highly optimized, efficient executables due to its whole-program compilation approach. This can result in faster performance compared to other Standard ML compilers.

  2. Standard ML Compliance

    MLton has strong adherence to the Standard ML language specification, ensuring that programs written for MLton are highly portable and conform to the expected language standards.

  3. Rich Optimization

    The compiler includes numerous optimization techniques, enabling better runtime performance and memory usage for compiled applications.

  4. Large Language Support

    MLton supports the full breadth of the Standard ML language, including advanced features like functors and modules.

Badges

Promote MLton. You can add any of these badges on your website.

SaaSHub badge
Show embed code

Videos

We don't have any videos for MLton yet.

Social recommendations and mentions

We have tracked the following product recommendations or mentions on various public social media platforms and blogs. They can help you see what people think about MLton and what they use it for.
  • Abstraction boundaries are optimization boundaries
    The author is right to note that Haskell can optimise across module (abstraction) boundaries. However I remember that in my childhood that Debray [1] did a lot of work on link-time optimisations (late 1980s). And of course there's the classic self work that fed into the JVM [2], and the whole-of-program compilers that are receiving renewed attention now; mlton [3] being a classic of the genre, "supercompiler"... - Source: Hacker News / over 1 year ago
  • 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 / over 3 years 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 / over 4 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 / over 4 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: almost 5 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 / about 5 years ago

Do you know an article comparing MLton to other products?
Suggest a link to a post with product alternatives.

Suggest an article

MLton discussion

Log in or Post with

Is MLton good? This is an informative page that will help you find out. Moreover, you can review and discuss MLton here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.