Need advice about which tool to choose?Ask the StackShare community!

ReasonML

73
90
+ 1
8
Rust

5.6K
4.8K
+ 1
1.2K
Add tool

ReasonML vs Rust: What are the differences?

What is ReasonML? A friendly programming language for JavaScript and OCaml. It lets you write simple, fast and quality type safe code while leveraging both the JavaScript & OCaml ecosystems.It is powerful, safe type inference means you rarely have to annotate types, but everything gets checked for you.

What is Rust? A safe, concurrent, practical language. Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory.

ReasonML and Rust can be categorized as "Languages" tools.

ReasonML and Rust are both open source tools. It seems that Rust with 38.2K GitHub stars and 5.95K forks on GitHub has more adoption than ReasonML with 7.92K GitHub stars and 374 GitHub forks.

Dropbox, Sentry, and Postmates are some of the popular companies that use Rust, whereas ReasonML is used by Instagram, Broadsheet, and NG Informática. Rust has a broader approval, being mentioned in 56 company stacks & 523 developers stacks; compared to ReasonML, which is listed in 8 company stacks and 7 developer stacks.

Advice on ReasonML and Rust
Needs advice
on
JavaScriptJavaScriptPythonPython
and
RustRust

So, I've been working with all 3 languages JavaScript, Python and Rust, I know that all of these languages are important in their own domain but, I haven't took any of it to the point where i could say I'm a pro at any of these languages. I learned JS and Python out of my own excitement, I learned rust for some IoT based projects. just confused which one i should invest my time in first... that does have Job and freelance potential in market as well...

I am an undergraduate in computer science. (3rd Year)

See more
Replies (3)
Recommends
on
JavaScriptJavaScript

I would start focusing on Javascript because even working with Rust and Python, you're always going to encounter some Javascript for front-ends at least. It has: - more freelancing opportunities (starting to work short after a virus/crisis, that's gonna help) - can also do back-end if needed (I would personally avoid specializing in this since there's better languages for the back-end part) - hard to avoid. it's everywhere and not going away (well not yet)

Then, later, for back-end programming languages, Rust seems like your best bet. Its pros: - it's satisfying to work with (after the learning curve) - it's got potential to grow big in the next year (also with better paying jobs) - it's super versatile (you can do high-perf system stuff, graphics, ffi, as well as your classic api server) It comes with a few cons though: - it's harder to learn (expect to put in years) - the freelancing options are virtually non-existent (and I would expect them to stay limited, as rust is better for long-term software than prototypes)

See more
Recommends
on
JavaScriptJavaScript

I suggest you to go with JavaScript. From my perspective JavaScript is the language you should invest your time in. The community of javascript and lots of framework helps developer to build what they want to build in no time whether it a desktop, web, mobile based application or even you can use javascript as a backend as well. There are lot of frameworks you can start learning i suggest you to go with (react,vue) library both are easy to learn than angular which is a complete framework.

And if you want to go with python as a secondary tool then i suggest you to learn a python framework (Flask,Django).

See more
Moinul Moin
Recommends
on
JavaScriptJavaScript

go for javascript, brother.

See more
Decisions about ReasonML and Rust
Roman Glushko
Machine Learning, Software Engineering and Life · | 3 upvotes · 340.7K views

I chose Golang as a language to write Tango because it's super easy to get started with. I also considered Rust, but learning curve of it is much higher than in Golang. I felt like I would need to spend an endless amount of time to even get the hello world app working in Rust. While easy to learn, Golang still shows good performance, multithreading out of the box and fun to implement.

I also could choose PHP and create a phar-based tool, but I was not sure that it would be a good choice as I want to scale to be able to process Gbs of access log data

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of ReasonML
Pros of Rust
  • 4
    Pattern Matching
  • 3
    Type System
  • 1
    React
  • 143
    Guaranteed memory safety
  • 130
    Fast
  • 87
    Open source
  • 75
    Minimal runtime
  • 70
    Pattern matching
  • 63
    Type inference
  • 56
    Algebraic data types
  • 56
    Concurrent
  • 46
    Efficient C bindings
  • 43
    Practical
  • 37
    Best advances in languages in 20 years
  • 32
    Safe, fast, easy + friendly community
  • 30
    Fix for C/C++
  • 25
    Stablity
  • 24
    Zero-cost abstractions
  • 23
    Closures
  • 20
    Great community
  • 20
    Extensive compiler checks
  • 18
    No NULL type
  • 18
    Async/await
  • 15
    Completely cross platform: Windows, Linux, Android
  • 15
    No Garbage Collection
  • 14
    Great documentations
  • 14
    High-performance
  • 12
    Super fast
  • 12
    Generics
  • 12
    High performance
  • 11
    Safety no runtime crashes
  • 11
    Guaranteed thread data race safety
  • 11
    Fearless concurrency
  • 11
    Macros
  • 10
    Compiler can generate Webassembly
  • 10
    Helpful compiler
  • 9
    Easy Deployment
  • 9
    RLS provides great IDE support
  • 9
    Prevents data races
  • 8
    Real multithreading
  • 8
    Painless dependency management
  • 7
    Good package management
  • 5
    Support on Other Languages

Sign up to add or upvote prosMake informed product decisions

Cons of ReasonML
Cons of Rust
  • 1
    Bindings
  • 26
    Hard to learn
  • 23
    Ownership learning curve
  • 11
    Unfriendly, verbose syntax
  • 4
    Variable shadowing
  • 4
    High size of builded executable
  • 4
    Many type operations make it difficult to follow
  • 3
    No jobs
  • 1
    Use it only for timeoass not in production

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

What is ReasonML?

It lets you write simple, fast and quality type safe code while leveraging both the JavaScript & OCaml ecosystems.It is powerful, safe type inference means you rarely have to annotate types, but everything gets checked for you.

What is Rust?

Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory.

Need advice about which tool to choose?Ask the StackShare community!

What companies use ReasonML?
What companies use Rust?
See which teams inside your own company are using ReasonML or Rust.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with ReasonML?
What tools integrate with Rust?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

Nov 20 2019 at 3:38AM

OneSignal

PostgreSQLRedisRuby+8
9
4639
Jun 6 2019 at 5:11PM

AppSignal

RedisRubyKafka+9
15
1639
What are some alternatives to ReasonML and Rust?
OCaml
It is an industrial strength programming language supporting functional, imperative and object-oriented styles. It is the technology of choice in companies where a single mistake can cost millions and speed matters,
Haskell
It is a general purpose language that can be used in any domain and use case, it is ideally suited for proprietary business logic and data analysis, fast prototyping and enhancing existing software environments with correct code, performance and scalability.
Flow
Flow is an online collaboration platform that makes it easy for people to create, organize, discuss, and accomplish tasks with anyone, anytime, anywhere. By merging a sleek, intuitive interface with powerful functionality, we're out to revolutionize the way the world's productive teams get things done.
ClojureScript
ClojureScript is a compiler for Clojure that targets JavaScript. It is designed to emit JavaScript code which is compatible with the advanced compilation mode of the Google Closure optimizing compiler.
Elm
Writing HTML apps is super easy with elm-lang/html. Not only does it render extremely fast, it also quietly guides you towards well-architected code.
See all alternatives