DEV Community

Discussion on: Revery - Cross-Platform Desktop Apps With Reason

Collapse
 
kayis profile image
K • Edited

Yes, with the Google backing Flutter is a very practical solution. Revery is very experimental, but I think Reason/OCaml has more potetial than Dart, so let's see where this goes 🙃

Collapse
 
farukg profile image
farukg

Hi,

TLDR;
SvelteJS-Devs & Revery-Devs & ReasonML-Devs should work together on a unified project XD.

I just found out about Flutter/Dart, was seeing more and more here and there. They have so much already. If I was about to build a native app, i would probably choose Flutter even though i realllly like (to learn) ReasonML and its functional features for 2 reasons. No, actually 3 reasons. The last Reason just popped up again while typing:

you just can not google "Flutter vs Reason". You'd get results like "5 reasons to use Flutter today!" and nothing about ReasonML. I like puns, but finding information is a little hard, the word reason is soo frequent XD.

I think they just don't publish enough about ReasonML. Which is my 2nd reason. Bad Marketing compared to Flutter or React. Maybe also not enthusiastic enough. It has to be somewhat more exiting so that it over-weighs the concerns about learning maybe some useless stuff (<- totally not what i think of ReasonML!)

Lately, i watched a talk about SvelteJS from Rich Harris youtube.com/watch?v=AdNJ3fydeao&t=... which made feel bad about React ^ Which would be the no. 1 reason not to choose ReasonML. They have a rock solid type system and everything, but compile to a plain-old JS-Library?? (i know I'm too hard on React right now, sorry, i don't mean it haha)

While Rich Harris uses the same JS to write an AOT-compiler for some other newly-made-up flavor of JS+HTML/CSS? something feels wrong here.

Admittedly, both of course use flow or TS, but still.. the claim of ReasonML is that it has a superior super-sound mega-stable type-system which is around for 20 or 30 years (which I believe), but if at the end you fallback to the language you were criticizing earlier than the credibility suffers a little...Thats what I think and why I find Revery promising, maybe its a small step to compile to super-fast JS like svelte :D

Best,
Faruk

Collapse
 
vinceramces profile image
Vince Ramces Oliveros

I've never compare languages just because of its features and syntax, benchmarks is all I care the most.Production ready, Developer experience, Cross platform and Community is the one thing I am influenced at most.

That said. I wish Reason could grow much more to compete with other big tech companies. I have high expectation to its capabilities.

Thread Thread
 
rhymes profile image
rhymes

Isn't Reason backed by Facebook?

Thread Thread
 
kayis profile image
K

Kinda.

I think they wrote parts of some of their apps with it, but I think mostly because of it's compile-to-js features and less because of the native stuff.

Thread Thread
 
vinceramces profile image
Vince Ramces Oliveros

Sorry, I was referring to ReasonML and Revery as it grows. I only saw the revery repo and not the ReasonML. Sorry if it was misunderstood. Reason is being backed by facebook, yet they're focusing on React and React Native as they're JSX and React Community loved it.

Thread Thread
 
kayis profile image
K

As far as I know, the proof of concept of React was written in OCaml

Thread Thread
 
justgage profile image
Gage

Actually standard ML, which is a very close cousin.