1
4
ReScript 11.1 (rescript-lang.org)
2
12

January 18 2023 Josh Derocher-Vlk writes:

If Rust is "C++ in ML clothing" then ReScript is "JavaScript in ML clothing".

What is ReScript?

ReScript is "Fast, Simple, Fully Typed JavaScript from the Future". What that means is that ReScript has a lightning fast compiler, an easy to learn JS like syntax, strong static types, with amazing features like pattern matching and variant types. Until 2020 it was called "BuckleScript" and is closely related to ReasonML.

ReScript is growing and adding features to make it more appealing as an alternative to JavaScript. ReScript v11 was recently released and adds some very nice quality of life improvements.

Let's take a quick look at a few features that Rust and ReScript share with some code examples.

Read ReScript: Rust like features for JavaScript

3
8
ReScript 11.0 (rescript-lang.org)
4
4

Nov 24, 2023 Hyeseong Kim writes:

You don't need to use ReScript for the whole of your project. The same goes for TypeScript. Where the language makes more sense, use it. The use of multiple languages in any complex project is more common than you might think.

Before embracing a language like ReScript, first evaluate your domain model and the appropriate architecture. Try using ReScript in spaces that have as few dependencies as possible and deal with pure business logic.

Read When and Where to use ReScript | The ReScript happy path

ReScript

42 readers
2 users here now

A community for the rescript programming language. https://rescript-lang.org/

founded 9 months ago
MODERATORS