Comparing number of lines of code Erlang <-> C
Thu Feb 19 14:59:24 CET 2004
Åke Ai Johansson (LN/EAB) <> wrote:
> Erlang is usually more compact regarding lines of code than for example C.
> Is there a factor that most people agree on?
> If there is: What is the factor and has it been verified in a real
> situation, for example when a system has been re-written?
I just rewrote a pretty simple tcp/udp server (communicating with a
mixture of binary data and xml) in Erlang - the C++ server was some
5000 loc, and the erlang version ~1000. So a factor of 5 in this
case, which I think what you usually get.
More information about the erlang-questions