[erlang-questions] Parsing binaries performance
Kevin Scaldeferri
kevin@REDACTED
Wed Jun 25 18:59:39 CEST 2008
On Jun 25, 2008, at 9:27 AM, Sebastian Dehne wrote:
>> Yes, Erlang is slow doing that. Try running 30000 processes in
>> parallel
>> in Java and measure the difference that way. You'll find yourself
>> writing into some Java mailing list asking for a way to make Java
>> code match Erlang performance.
>>
>> Meanwhile, try using +native mode if you have HiPE enabled
>> on your platform. This might help a bit.
> Java is not made for running 30000 threads, so that comparison makes
> no
> sense, does it.
It makes perfect sense. Different languages are designed and
optimized for different goals. Erlang is designed to scale to massive
concurrency, not for performance of a single serial computation.
(And, despite that, it's performance in that arena is actually
generally quite good for a dynamic language.)
-kevin
More information about the erlang-questions
mailing list