TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

ReScript 8.4

71 pointsby jesperlangover 4 years ago

7 comments

bgormanover 4 years ago
I&#x27;m pretty disappointed with the way this has unfolded.<p>For those now familiar with ReScript, ReScript started as &quot;reason&quot; an alternative syntax for Ocaml. Recently ReScript was created with a sytnax more similar to TypeScript than &quot;Reason&quot;. In addition, there is a fork of OCaml for compiling to javascript that used to be branded as &quot;Bucklescript&quot;, but now it is called &quot;ReScript&quot; as well.<p>So now as of 12&#x2F;14&#x2F;2020 there are three Ocaml syntax versions in use:<p>Ocaml, Reason (Reason 3.6, last version available for native code) ReScript, (~Reason 4, only available for javascript compiler fork, some sytax present in Ocaml&#x2F;Reason has actually been removed with no equivilant in the grammar)<p>I am not sure who benefits from this, Ocaml is a serious language that will never be as simple as a dynamically typed language. I am not sure who this is supposed to be helping. It seems to me that things were more clear a year ago when there were just two syntaxes available. In addition, it now takes a relative subject matter expert to disipher what is going on, which i think is the exact outcome ReScript was trying to avoid.
评论 #25427344 未加载
评论 #25426178 未加载
评论 #25426476 未加载
评论 #25427091 未加载
评论 #25425994 未加载
评论 #25426573 未加载
jitlover 4 years ago
I want to write my front end and back end in the same language - Reason - and compile the backend to native code. So, ReScript doesn’t work for me? Are people still using or working on Reason, or is it dead?<p>I feel like this fork might make sense inside Bloomberg, but it’s killed my enthusiasm for this language family.
评论 #25427767 未加载
评论 #25427640 未加载
评论 #25427818 未加载
评论 #25428003 未加载
评论 #25429535 未加载
chubotover 4 years ago
Are there any good examples of open source projects written with ReScript?<p>I was searching for this recently and came up short... Is it mainly being used inside Facebook?<p>Kind of a shame as the ideas look good. I would like something like Elm, but Elm doesn&#x27;t interoperate with JS.
评论 #25427908 未加载
评论 #25430486 未加载
评论 #25427955 未加载
评论 #25427885 未加载
评论 #25427503 未加载
testcrossover 4 years ago
Btw for people who want to use js_of_ocaml instead of rescript but still like react, there is <a href="https:&#x2F;&#x2F;github.com&#x2F;jchavarri&#x2F;jsoo-react" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jchavarri&#x2F;jsoo-react</a>. It&#x27;s obviously not as polished. But it&#x27;s interesting to see how much work it requires to bind a large lib like react.
评论 #25429543 未加载
jesperlangover 4 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;reason&#x2F;issues&#x2F;2634" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;reason&#x2F;issues&#x2F;2634</a><p>This issue is trying asking for some explanation regarding the future of ReasonML. Maybe comment&#x2F;react&#x2F;subscribe to stay up to date on this issue!
vijaybrittoover 4 years ago
I know Reason&#x2F;Rescript was to make OCaml&#x27;s type system available to the JS devs and is an excellent alternative to typescript but its quite hard to follow. I&#x27;m a JS developer with no experience in statically typed languages. I&#x27;m not able to figure out what exactly is the way to do things we usually do in JS ecosystem. I mean things like a package manager, build system. These things are confusing. I&#x27;m pretty sure that there are tons of people turned away from Reason for this very same reason.<p>Also OCaml in Windows was hard to configure and get right. The barrier to entry into the ecosystem is huge and it has to be resolved. The language is beautiful but anyone needs to be able to get productive in it very quickly.
lnyanover 4 years ago
Just realized that <a href="https:&#x2F;&#x2F;reasonml.org" rel="nofollow">https:&#x2F;&#x2F;reasonml.org</a> is deprecated.
评论 #25428052 未加载