Live data from Hacker News

Reason: A new interface to OCaml

facebook.github.io

81–90 of 294 posts

Re: Reason: A new interface to OCaml

#81
post #42

This page is completely unusable due to lag. From the other comments it seems this is FF specific. One would think FB would have the resources to test new pages at least on common browsers before publishing. Edit: The fix came quickly though.

Fixed. Seems to be a box-shadow issue on FF. Sorry for the trouble...

Re: Reason: A new interface to OCaml

#82

Earlier quoted context omitted.

Thanks, we're looking into how to fix the perf in FF. Meanwhile, it works on my tiny mobile cell phone.

Disabling the box shadow on .content-root fixes the performance bug (FF46.0).

We just discovered the same by disabling the media query which handles the shadow. Thank you very much for investigating.

Re: Reason: A new interface to OCaml

#83
post #42

This page is completely unusable due to lag. From the other comments it seems this is FF specific. One would think FB would have the resources to test new pages at least on common browsers before publishing. Edit: The fix came quickly though.

Thanks, we're looking into how to fix the perf in FF. Meanwhile, it works on my tiny mobile cell phone.

I can confirm the same laggy behavior in FF 46. But, strangely, it works completely fine on FF 48 (dev edition) :S

Re: Reason: A new interface to OCaml

#85
post #48

This looks very interesting. I've always had OCaml in mind but never actually got around to using it in a project. Facebook could have done a better job describing what exactly this is, but they do provide a good overview at the end of the page (strangely!) [1]. In summary, Reason [2] is a new language (correction: interface to OCaml) that shares a part of the OCaml compiler toolchain and runtime. I don't know of any…

reason : ocaml :: lfe : erlang might be an apter comparison. it adds a new syntax parser, but not a new language. from their docs:

> The OCaml compiler is organized into several stages, which are exposed as libraries. Reason replaces part of the compiler toolchain with a completely new syntax parser that is more approachable, while still fully compatible with the rest of the compiler. Reason also implements a new source printer which integrates into your IDE and the new custom REPL.

Re: Reason: A new interface to OCaml

#86
post #42

This page is completely unusable due to lag. From the other comments it seems this is FF specific. One would think FB would have the resources to test new pages at least on common browsers before publishing. Edit: The fix came quickly though.

Edit: the page now works in FF.

Re: Reason: A new interface to OCaml

#88

Earlier quoted context omitted.

Thanks, we're looking into how to fix the perf in FF. Meanwhile, it works on my tiny mobile cell phone.

Disabling the box shadow on .content-root fixes the performance bug (FF46.0).

Thanks for finding that out. We (Firefox) fixed a box shadow performance bug [1] in Firefox 47, which will be released on June 7th. It looks like this site is hitting that perf bug.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1250947

Re: Reason: A new interface to OCaml

#90
post #76

I for one welcome the syntax. I run the OCaml meetup in Silicon Valley and syntax is definitely an issue for newcomers. This makes it easier for other programmers to instantly just jump into OCaml/ML rather than ask about what is `in` or what is `let foo = function`, etc etc. EDIT: Hosting a Meetup this friday at 6pm in San Francisco about Reason and how to instantly start using it, http://www.meetup.com/sv-ocaml/eve…

Will you stream or record the session?

Probably not, sorry.
Post reply on HN