News for hackers. Stuff that matters.
Re:Caramel: an Erlang back end for OCaml by wut42 on Sunday September 27, 2020 @07:30AM (#24605847)
Facebook is going to release soonish a new language on the BEAM, that's fully static typed.
Re:Caramel: an Erlang back end for OCaml by slifin on Sunday September 27, 2020 @08:32AM (#24606158)
Ugh I hope this isn't going to be another php->hack project

Static analysis is great and required for modern development in dynamic languages and CPU/memory intensive to do well

These big companies should write their own LSP server since all editors support the LSP protocol and mandate their use in employee editors

Waiting till compile time to find that typo is rubbish, at runtime and compile time there should be as little checks as possible to keep performance up and the application running but on every keystroke in the editor it should be check city and again in CI

Instead Facebook keeps lagging up their dynamic languages by building incompatible languages with static analysis into the compile step fracturing communities for a worse solution

Re:Caramel: an Erlang back end for OCaml by conradfr on Sunday September 27, 2020 @08:58AM (#24606301)
To be fair Hack made PHP getting serious about PHP7 and nowadays you get really great strong and strict typing, with PHP8 going even further.

With a good IDE it's more pleasant than writing Elixir with typespecs and guards in that regard.

Re:Caramel: an Erlang back end for OCaml by tym0 on Sunday September 27, 2020 @07:54AM (#24605951)
There is more information in this talk: https://youtu.be/RHnjPW4YOrs