By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: ReScript 12.0 Released with New Build System
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > ReScript 12.0 Released with New Build System
News

ReScript 12.0 Released with New Build System

News Room
Last updated: 2025/12/31 at 4:34 AM
News Room Published 31 December 2025
Share
ReScript 12.0 Released with New Build System
SHARE

ReScript, the robustly typed language that compiles to JavaScript, has released ReScript 12.0, completing a multi-year development roadmap to modernize the compiler toolchain and deliver a better developer experience with improved syntax and performance.

ReScript 12.0 introduces several major features, including a completely rewritten build system, improved operators, dictionary literals with pattern matching, nested record types, JSX preserve mode, and regex literals. The release also brings a modular runtime architecture and platform-specific binaries that significantly reduce installation footprint.

One of the headline features in ReScript 12 is the new build system, introduced earlier in November, which brings intelligent dependency tracking and faster incremental builds. The system now tracks dependencies more precisely, avoids unnecessary recompilations, and integrates with incremental workflows even across monorepo packages. This addresses limitations that became apparent as projects grew larger and monorepos became more common, as the previous build system worked primarily on single package projects.

For projects that need to use the old ‘legacy’ build system, the rescript-legacy command can be used for build, build -w and clean commands. It is expected that this will be removed in v13.

ReScript 12 finalizes the unified operator work introduced earlier this year. Arithmetic operators such as +, -, *, /, % and ** now work consistently for int, float, and bigint, allowing the compiler to infer the correct specialization from the left operand. Developers can now use + for string concatenation as well, eliminating the need for the legacy +., -., *., and /. operators that were previously required for floating-point operations.

ReScript 12 also supports dictionary literals that compile to plain JavaScript objects, drastically reducing boilerplate compared to Dict.fromArray. Pattern matching also understands dictionaries, enabling concise destructuring of JSON payloads and configuration objects:


let user = dict{"firstname": "John", "role": "manager"}

switch user {
| dict{"name": name, "role": role} => Console.log2(name, role)
| _ => Console.log("missing user metadata")
}

Developers can enable preserve mode for JSX via "jsx": { "version": 4, "preserve": true }. The compiler will emit JSX syntax instead of transforming elements to react/jsx-runtime calls, this is useful for bundlers such as ESBuild, SWC, or Babel, so they can apply their own transforms. This maintains compatibility with React Compiler and keeps JSX readable in the output.

Teams upgrading from ReScript 11 should review the migration guide and schedule time for the transition. The release includes several breaking changes, most notably the removal of JSX v3 support, a new runtime package structure with @rescript/runtime replacing the previous setup, and API naming changes where functions previously ending with Exn now end with OrThrow. The migration tool includes a codemod that can perform mechanical renames to ease the transition.

Installation footprints have shrunk due to changes in platform-specific packages such as @rescript/darwin-arm64, @rescript/linux-x64, and @rescript/win32-x64. npm will only install the binary that matches the operating system and architecture, resulting in faster installs and smaller cache footprints for CI pipelines.

While specific community discussion around the ReScript 12 release has been limited, the language continues to position itself as an alternative to TypeScript with stronger type guarantees. On reddit, a user commented that the release is quite good news, as they thought the project was dead. Others asked why ReScript would be a choice over TypeScript, with one commenter offering some comparison:

TS still has all the bad parts from javascript, and is by design unsound. Its also built in ocaml, so you will probably get one of the fastest compilers out there. No more waiting 5min for a production build.

An older comparison between the two highlight that ReScript’s type system is sound and guaranteed to never be wrong, whereas TypeScript’s type system makes educated guesses that can sometimes be incorrect at runtime. ReScript also compiles significantly faster than TypeScript, though TypeScript maintains broader ecosystem adoption and JavaScript interoperability.

ReScript is an open-source programming language that compiles to efficient and human-readable JavaScript. Originally derived from OCaml, it has evolved into a distinct language with its own syntax and toolchain. ReScript is particularly popular in React development, offering first-class JSX support and a lightning-fast compiler that scales to any codebase size.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article How to Create a LinkedIn Content Strategy How to Create a LinkedIn Content Strategy
Next Article My resolution for 2026? To listen to music albums, not playlists My resolution for 2026? To listen to music albums, not playlists
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

How to Find Influencers and Creators for Your Next Campaign
How to Find Influencers and Creators for Your Next Campaign
Computing
10 phones killed off in 2025 – including big mobile brand closing after 15 years
10 phones killed off in 2025 – including big mobile brand closing after 15 years
News
Why Manual Methods Are Costing You Deals (Here’s Why)
Why Manual Methods Are Costing You Deals (Here’s Why)
Gadget
2026 could be a huge year for TVs — but I’m worried about the software
2026 could be a huge year for TVs — but I’m worried about the software
Software

You Might also Like

10 phones killed off in 2025 – including big mobile brand closing after 15 years
News

10 phones killed off in 2025 – including big mobile brand closing after 15 years

6 Min Read
Jackery and Anker Hosting New Year’s Sales With Up to 65% Off
News

Jackery and Anker Hosting New Year’s Sales With Up to 65% Off

8 Min Read
How to Watch Ohio State vs. Miami: Start Time, TV Channel for Cotton Bowl CFP Quarterfinal
News

How to Watch Ohio State vs. Miami: Start Time, TV Channel for Cotton Bowl CFP Quarterfinal

1 Min Read
UK tech funding totals £11.7 billion in 2025 – UKTN
News

UK tech funding totals £11.7 billion in 2025 – UKTN

2 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?