What is the best way to learn Erlang?

I’m a month-or-so into learning and the guides I’m enjoying most are: The Erlang Site’s Getting Started with Erlang Guide Joe Armstrong’s Book Software for a Concurrent World (thoroughly recommended) And I have on order: O’Reilly’s Erlang Programming which has had some really positive reviews and sounds like a good companion to Joe Armstrong’s book … Read more

The actor model: Why is Erlang/OTP special? Could you use another language?

The C++ code does not deal with fairness, isolation, fault detection or distribution which are all things which Erlang brings as part of its actor model. No actor is allowed to starve any other actor (fairness) If one actor crashes, it should only affect that actor (isolation) If one actor crashes, other actors should be … Read more

What’s a good IDE for Erlang programming? [closed]

Erlang plugin for IntelliJ IDEA provides some features for Erlang code editing and navigation: Syntax and errors highlighting References resolving Code completion for functions, records, variables, macroses and keywords Rename refactoring for modules, functions, records, macroses and variables Safe delete refactoring Structure view and Find usages Code formatter Compilation and running Eunit test runner Dialyzer … Read more

Node.js or Erlang

I would give Erlang a try. Even though it will be a steeper learning curve, you will get more out of it since you will be learning a functional programming language. Also, since Erlang is specifically designed to create reliable, highly concurrent systems, you will learn plenty about creating highly scalable services at the same … Read more

What’s the status of current Functional Reactive Programming implementations?

Right now there are mainly two practical Haskell libraries out there for functional reactive programming. Both are maintained by single persons, but are receiving code contributions from other Haskell programmers as well: Netwire focusses on efficiency, flexibility and predictability. It has its own event paradigm and can be used in areas where traditional FRP does … Read more

How/why do functional languages (specifically Erlang) scale well?

A functional language doesn’t (in general) rely on mutating a variable. Because of this, we don’t have to protect the “shared state” of a variable, because the value is fixed. This in turn avoids the majority of the hoop jumping that traditional languages have to go through to implement an algorithm across processors or machines. … Read more

How does akka compare to Erlang? [closed]

Disclaimer: I am the PO for Akka Erlang does copy-on-send – Akka uses shared memory (immutable objects) for in-VM sends Erlang does per-process GC – Akka uses JVM GCs Erlang has OTP – Akka integrates with the entire Java ecosystem (Apache Camel, JAX-RS, etc etc) Erlang does the process scheduling for you – Akka allows … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)