CODIGO
log in

ReScript

AKA ReasonML for JavaScript

ReScript logo

Summary

A strongly-typed language that compiles to JavaScript, with a focus on interoperability, simplicity, and performance. It offers a robust type system with type inference and provides first-class JS interop.

Paradigms

functional, imperative, object-oriented

Domains

web development, user interface

Key Features

pattern matching, algebraic data types, type inference, zero-cost abstractions, first-class functions, modules, destructuring

Typing

static system, structural typing, strong typing, full inference, compile-time checking, conservative type coercion, optional type annotations

Compilation

compiled, transpiled

Influenced By

OCaml, Reason, TypeScript, JavaScript

Ratings

Startup time
▊▊
▊▊
▊▊
▊▊
▊▊
Memory usage
▊▊
▊▊
▊▊
▊▊
▊▊
Computation speed
▊▊
▊▊
▊▊
▊▊
▊▊
Compilation speed
▊▊
▊▊
▊▊
▊▊
▊▊
Maturity
▊▊
▊▊
▊▊
▊▊
▊▊
Community size
▊▊
▊▊
▊▊
▊▊
▊▊
Learning resources
▊▊
▊▊
▊▊
▊▊
▊▊
Job market demand
▊▊
▊▊
▊▊
▊▊
▊▊
Learning curve
▊▊
▊▊
▊▊
▊▊
▊▊
Cognitive load
▊▊
▊▊
▊▊
▊▊
▊▊
Syntax complexity
▊▊
▊▊
▊▊
▊▊
▊▊
Semantic complexity
▊▊
▊▊
▊▊
▊▊
▊▊
Memory safety
▊▊
▊▊
▊▊
▊▊
▊▊
Concurrency ease of use
▊▊
▊▊
▊▊
▊▊
▊▊
Std lib maturity
▊▊
▊▊
▊▊
▊▊
▊▊
Std lib size
▊▊
▊▊
▊▊
▊▊
▊▊
Backwards compatibility
▊▊
▊▊
▊▊
▊▊
▊▊
Documentation quality
▊▊
▊▊
▊▊
▊▊
▊▊

File extensions

res

External Links

Status active
Type programming
Created 2015
Designed by Hongbo Zhang
Cheng Lou
Developed by ReScript Team
Facebook
Bloomberg L.P.
PyPL Index N/A
TIOBE Index N/A
GitHub rank #91

Code Example

Loading...