Re:Why I Program in Erlang
by 2c2c2c on Tuesday November 01, 2022 @08:15PM
(#33429772)
what are the things it is good at?
[ Parent
| on HN ]
Presumably, concurrency and fault-tolerance?
Re:Why I Program in Erlang
by weatherlight on Tuesday November 01, 2022 @08:54PM
(#33430063)
concurrency, general purpose computing, excellent developer ergonomics and tooling. Great community.
> general purpose computing
As a huge Erlang fan, I’m not certain I’d say “general purpose computing” is a strength of it.
server side computing is probably my take - it does handle more than that, eg. nerves but server side computing is the big win.
Re:Why I Program in Erlang
by weatherlight on Wednesday November 02, 2022 @12:19PM
(#33438311)
Python and Ruby are general purpose computer programing languages. Is there anything they do extremely well that erlang/elixir, can't?
From the following:
https://www.erlang.org/faq/introduction.html
1 What is Erlang
1.1 In a nutshell, what is Erlang?
Erlang is a general-purpose programming language and runtime environment.
Erlang has built-in support for concurrency, distribution and fault tolerance.
Re:Why I Program in Erlang
by julienmarie on Tuesday November 01, 2022 @11:13PM
(#33431041)
Amazing for:
- Web -> Phoenix ( https://www.phoenixframework.org/ )
- Parallel data processing (like scrapers, ETLs, etc...) -> GenStage / Flow / Broadway ( https://hexdocs.pm/gen_stage/GenStage.html )
- IOT -> Nerves ( https://www.nerves-project.org/ )
Soon:
Mobile Apps -> Elixir Desktop ( https://github.com/elixir-desktop/desktop )
ML -> NX ( https://github.com/elixir-nx )
Re:Why I Program in Erlang
by insane_dreamer on Wednesday November 02, 2022 @02:11AM
(#33431920)
another example of Erlang for concurrency -> MQTT server (i.e., https://github.com/emqx/emqtt)