Comment by fmbb

Comment by fmbb 9 days ago

1 reply

Erlang is not strongly typed and cross compiling apps with native dependencies is not straightforward. Running it on WASM is not common (is it possible?). It does not have a comprehensive standard library like Go.

It is compiled though.

vlovich123 9 days ago

Erlang is most definitely strongly typed [1]. Perhaps you confused static & dynamic typing? Easy mistake to make. Similarly, from what I could find Erlang is typically run on BEAM [2] which is an interpreter virtual machine that executes BEAM byte code (with a JIT option).

Since I’m not an expert on either language, here’s my take of how ChatGPT summarizes Erlang vs Go on various options.

Go’s standard library is primitives driven for general purpose programming while Erlang’s is purpose driven for distributed programming. So it depends on what you mean by “comprehensive”. For example, out of the box Erlang provides an environment for writing correct, robust distributed programs. If comprehensive means having a bunch of knives & start juggling that’s a different use case.

[1] https://learnyousomeerlang.com/types-or-lack-thereof#:~:text....

[2] https://www.erlang.org/blog/beam-compiler-history/