3 ms·
That Erlang is relatively power inefficient doesn't surprise me. I wonder how much of that is due to the "busy wait" it uses to reduce the latency in message p
by lliamander 6y ago
That Erlang is relatively power inefficient doesn't surprise me. I wonder how much of that is due to the "busy wait" it uses to reduce the latency in message processing.
- devmunchies 6y agonot really a fair comparison since erlang is a fully fledged operating system (joke). in general functional languages do worse due to the abstraction, and then VM languages do worse still, and then dynamically typed languages are less efficient than statically typed. Erlang is all the above. F# fits the first 2 (functional lang on a VM) and has a pretty bad energy rating despite being a fast language.
- lliamander 6y ago> not really a fair comparison since erlang is a fully fledged operating system (joke). Oh, Robert Virding told me once the plan was to make it essentially an OS. So, it's only a joke in the "Ha ha but seriously" sense. Lisp also fits all those criteria and is quite efficient, but it developed under different design constraints.
- dnautics 6y agoThe workloads here are numerical so erlang has to do a bunch of unboxing and boxing. "Programming languages shootout" is generally not a useful metric to judge anything on the erlang VM.