4 ms·
Maybe I’m wrong, but I only really know of Jane Street for OCaml, meanwhile FAANG all has at least some rust code. Also I would argue the rust compiler started
by mr_00ff00 1y ago
Maybe I’m wrong, but I only really know of Jane Street for OCaml, meanwhile FAANG all has at least some rust code.
Also I would argue the rust compiler started as a hobby project
- airstrike 1y agoAlso Bloomberg: https://news.ycombinator.com/item?id=28278553 https://news.ycombinator.com/item?id=28278553
- dismalaf 1y agoFacebook Messenger's backend was/is OCaml... React was originally written in SML, then OCaml, then whatever it is now. And a bunch of places use it for various things. https://ocaml.org/industrial-users https://ocaml.org/industrial-users
- one-note 1y agoReact is and has always been javascript…
- shakna 1y agoNot what the author of React says: > Yes, the first prototype of React was written in SML; we then moved onto OCaml. > Jordan transcribed the prototype into JS for adoption; the SML version of React, however great it might be, would have died in obscurity. The Reason project's biggest goal is to show that OCaml is actually a viable, incremental and familiar-looking choice. We've been promoting this a lot but I guess one blog post and testimonial helps way more. https://news.ycombinator.com/item?id=15209814 https://news.ycombinator.com/item?id=15209814
- one-note 1y agoSure, a prototype of an idea that would eventually become React was rewritten into JS to create the initial seed of the software that would eventually be called React.
- bastawhiz 1y agoReact was never written in SML or Ocaml. It was originally called FaxJS, and the source code is published online. A version of React was built to run in ReasonML, which is a flavor of Ocaml for the web, but Reason didn't even exist before React was fairly well established.
- dismalaf 1y agohttps://news.ycombinator.com/item?id=15209814 https://news.ycombinator.com/item?id=15209814
- bastawhiz 1y agoThat's a nonsensical point, though. Building a proof of concept in a language and then rebuilding the practical implementation of it in another language and runtime doesn't make the two the same thing. If Notch had built a proof of concept of Minecraft in Python before building the Java version, we wouldn't say Minecraft was originally written in Python. There wasn't even a robust way to compile OCaml for the web in 2010/2011 even if you wanted to try to use the same code. My understanding is that zero SML or Ocaml related to React ever ran in production, which makes the assertion that it was used in anything other than an academic capacity moot. Hell, Facebook's own XHP's interface (plus PHP/Hack's execution model) is more conceptually relatable to React, and its initial development predates Jordan's time at Facebook. It wasn't JavaScript, but at the very least it defined rails for writing applications that used the DOM.
- deleted 1y ago[deleted]