3 ms·
> Joe, who might be prejudiced, seems to thinks it's the next Ruby, and claims that if you write an application in Erlang to run on a single-core processor, it
by digitalzombie 12y ago
> Joe, who might be prejudiced, seems to thinks it's the next Ruby, and claims that if you write an application in Erlang to run on a single-core processor, it will run four times as fast on a 4-core processor without any modification in the code.
Wrong, only for Embarrassingly parallel problems and even then Erlang cannot do numerical problem as fast as other languages.
> Erlang is not a hybrid like Scala and F#, but a no-compromises pure FP language.
It is not pure but pragmatic.
The date() function does not respect Referential transparency. It'll return the current date all the time, not the same value all the time.
Edit:
I've recently reread Learn You Erlang For Great Good book for an interview.
I just basically paraphrasing what the author states.
- deleted 12y ago[deleted]