Comment

Comment by simplify

ReasonML has more potential. Aside from its excellent type system (one of the best), it can also compile to native code. This has several benefits:

- Frontend: Your tools are fast. The ReasonML-to-JS compiler is already an order of magnitude faster that TypeScript, etc. Fastpack is a native bundler in the works that aims to bundle your project in under a second (and faster for incremental builds).

- Mobile & Desktop: Some are experimenting right now with writing a version of React in pure Reason that compiles to native code, bypassing the JavaScript runtime entirely.

- Backend: You'll be able to use the Node.js ecosystem but compile certain modules to native code when you need critical performance.

Edit: I should add, the Node.js backend story is currently the least developed part of the ecosystem (I'm personally working on getting that up to speed).

parent simplify 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton