ReScript: Evolution from Reason + BuckleScript
ReScript is a statically-typed language that compiles to efficient JavaScript. Originally, it used BuckleScript as a backend to compile Reason code to JavaScript.
Core Characteristics
- Uses
.resfile extension with emphasis on strong typing
- Takes a JavaScript subset approach, unlike TypeScript's superset philosophy
Advantages over TypeScript
- Compiler differences:
- TypeScript's compiler grows increasingly complex due to its superset approachTypeScript's compiler grows increasingly complex due to its superset approach
- ReScript's compiler maintains exceptional speed, with the performance gap expected to widen over timeReScript's compiler maintains exceptional speed, with the performance gap expected to widen over time
ReScript Notion
ReScript 사용기 / seob.dev
본격적으로 ReScript를 소개하기 앞서 얘기하고 싶은 내용이 있는데요. 제가 ReScript를 공부하기 시작하면서 가장 혼란스러웠던 점은 많은 용어들이 혼재되어 사용되고 있다는 점이었어요. ReScript, Reason(ReasonML), OCaml, BuckleScript 등, 다양한 용어가 ReScript 생태계 속에서 사용되고 있는데요. ReScript를 잘 이해하기 위해서는 이 용어들에 대해서 짚고 넘어갈 필요가 있을 것 같습니다. Reason은 React를 만든 Jordan Walke 가 만든 언어입니다.
https://seob.dev/posts/ReScript-%EC%82%AC%EC%9A%A9%EA%B8%B0/


Seonglae Cho