Live data from Hacker News

Erlang vs. Stackless Python: a first benchmark

muharem.wordpress.com

1–10 of 17 posts

Re: Erlang vs. Stackless Python: a first benchmark

#6
For most things language performance is just a constant - the really hard issue is making something distributed and it's really here that Erlang shines. Being a Python programmer I know that creating a distributed application in Python is far from simple - while it's almost a trivial task in Erlang.

Re: Erlang vs. Stackless Python: a first benchmark

#7
post #6

For most things language performance is just a constant - the really hard issue is making something distributed and it's really here that Erlang shines. Being a Python programmer I know that creating a distributed application in Python is far from simple - while it's almost a trivial task in Erlang.

I was wondering about this. Is it really comparing like with like? I do not know Erlang, but I thought it had a lot of overhead from being designed for distributed apps etc.

Re: Erlang vs. Stackless Python: a first benchmark

#8
post #7
post #6

For most things language performance is just a constant - the really hard issue is making something distributed and it's really here that Erlang shines. Being a Python programmer I know that creating a distributed application in Python is far from simple - while it's almost a trivial task in Erlang.

I was wondering about this. Is it really comparing like with like? I do not know Erlang, but I thought it had a lot of overhead from being designed for distributed apps etc.

A better comparison would be with Multiprocessing, or Eventlet/Spawning.

Re: Erlang vs. Stackless Python: a first benchmark

#9
post #3

not surprising that python is competitive...afaik haskell also crushes erlang in lightweight threading benchmarks (supposedly the core strength of erlang).

Have a link for this? But lightweight threading isn't all that Erlang brings to the table. It comes with an entire library designed to create extremely fault tolerant, live-upgradable, extremely concurrent systems.

Getting lightweight threading of the same speed or faster is good, but it's less than 1/3 of the equation.

Re: Erlang vs. Stackless Python: a first benchmark

#10
It's certainly important to know where Erlang doesn't perform so well. Project Euler ( http://projecteuler.net/ ) is also good for exploring the strengths of a given lanaguage. In terms of building robust and scalable distributed systems it cannot be touched. This stems for it's motivating use case of telephony. I'm not sure about Python but I know Haskell has been used largely in academic circles and hasn't had the same amount of attention paid to robustness. Joe Armstrong wrote a very good paper on the history of Erlang's development ( http://lambda-the-ultimate.org/node/2811 ).
Post reply on HN