ReScript- JavaScript平台上高质量大规模程序构建的秘密武器
如果无法正常显示,请先停止浏览器的去广告插件。
1. 第 十 六 届 D 2 前 端 技 术 论 坛
ReScript: the sound typescript
that scales
Hongbo Zhang
2. About me: working in
PL since 2009
- Author of ReScript(rescript-lang.org)
- Ex-core contributor to OCaml and Camlp4
- Author of Fan meta programming thesis
- Github: @bobzhang
- Twitter: @bobzhang1988
- Zhihu: people/hongbo_zhang
3. ReScript intro and history
Data oriented programming
Outline
Example: red black tree
4. Rescript: a statically typed functional language
Optimized for JS platform
Academic roots from ML
Focus on the quality of
implementations
5. Make a programming language is easy.
Make a language that is trusted by other companies
is very difficult
6. The history of ReScript
7. International impact of Rescript
第一个真正意义上中国人制作的具
有海外影响力的通用编程语言
Click to add text
8. The flavor of ReScript
9. Data oriented programming in ReScript
10. Data oriented programming in ReScript
11. Data oriented programming in ReScript
12. Data oriented programming in ReScript
13. Data oriented programming in ReScript
14. Data oriented programming in ReScript
15. Data oriented programming in ReScript
The power of pattern match
16. Red Black tree in ReScript: types
17. Data oriented programming in ReScript
Courtesy to Cornell cs3110
18. Red Black tree in ReScript: rotation
19. AVL tree in ReScript
https://zhuanlan.zhihu.com/p/430867594
20. Thank you!
Rescript is a multi-paradigm programming language, read more in
https://rescript-lang.org/