News for hackers. Stuff that matters.
Re:Show HN: Fnm – Fast and simple Node.js version manager bu... by thangngoc89 on Thursday January 24, 2019 @06:22AM (#18987727)
The ReasonML ecosystem is quite confusing for newcomers. ReasonML could be compiled to a binary out of the box thanks to the OCaml toolchain. Pesy is a tool for making native development easier. Regardings Javascript compilation backend, you only hear about that because it's what the ReasonML team selling.
Re:Show HN: Fnm – Fast and simple Node.js version manager bu... by a-saleh on Thursday January 24, 2019 @07:07AM (#18987948)
And I get that, I think I heard somebody from Reason community to say on some podcast once "We want to get the frontend stuff right first", or something along those lines :-)
Re:Show HN: Fnm – Fast and simple Node.js version manager bu... by devmunchies on Thursday January 24, 2019 @10:07AM (#18989264)
That makes more sense to me now why doing server side reason compiles to a node.js app and not a more performant OCaml app. Server is not a priority yet.
Re:Show HN: Fnm – Fast and simple Node.js version manager bu... by anuragsoni on Thursday January 24, 2019 @11:10AM (#18989896)
Server side reason can already compile to native binaries (thanks to the OCaml compiler). While maybe smaller than the npm ecosystem there are a lot of high quality packages available on the OCaml ecosystem [1] that allow for a very pleasant server side development experience. For example https://github.com/rgrinberg/opium is a really nice high level toolkit. There are database bindings to Postgres, Mysql and the like, and high level interfaces to them like https://github.com/paurkedal/ocaml-caqti

[1] http://opam.ocaml.org/packages/