3 ms·
Reason is merely a new syntax on OCaml. You can use BuckleScript (BS) to compile to JS, or not use BS to compile to native. There exists a fast http server in
by cies 8y ago
Reason is merely a new syntax on OCaml. You can use BuckleScript (BS) to compile to JS, or not use BS to compile to native.
There exists a fast http server in native OCaml:
https://github.com/inhabitedtype/httpaf https://github.com/inhabitedtype/httpaf
- thangngoc89 8y agohttpaf is quite low level. We need more abstractions on top of that for daily server development
- jordwalke 8y agoOne recent project which builds a usable layer on top: https://github.com/ostera/httpkit https://github.com/ostera/httpkit
- jordwalke 8y agoLet's be a little more specific. "Reason Syntax" is merely a new syntax on OCaml, but ReasonML in general has a much larger scope - which includes every part of the toolchain/workflow up to and including package management, IDE integration, source formatting etc and more.
- deleted 8y ago[deleted]
- rkangel 8y agoSo Reason is to OCaml a little like Elixir is to Erlang - newer syntax, better tooling, same great foundation.