[erlang-questions] Erlang read file benchmark
Sun Jul 10 14:43:50 CEST 2011
I don't think anyone would disagree with the right tool for the job. My complaint is that in any sufficiently large project some form of file I/O is going to happen. If Erlang was, say 50%, slower than Perl I wouldn't care; but an order of magnitude is really off the chart. As I showed you can roll your own code using prim_file that is good enough, but most people looking at Erlang for a solution wouldn't do that. Instead they would see the linked to webpage, laugh, and never look at Erlang again.
Just food for thought
Sent from my iPhone
On Jul 10, 2011, at 2:30 AM, "Thomas Heller" <info@REDACTED> wrote:
> A few years ago there was a very interesting discussion on this topic
> and some very smart people created some really smart Solutions.
> Google: Tim Bray and "Wide Finder"
> Conclusion was that Erlang is not the best Language for this type of
> work but with some clever tricks becomes "good enough".
> This has been in cooking in OTP for a while now, Jay Nelson gave a
> Talk on it which you can find here:
> Havent used this myself. Choose the right tool for the Job, so if you
> can write it in 20 lines of Perl, dont try writing it in 300 Lines of
> Erlang unless you really really want/need to.
> On Sat, Jul 9, 2011 at 9:15 PM, Evans, Matthew <mevans@REDACTED> wrote:
>> Sorry if this is a duplicate email.
>> I can understand Erlang being a bit slower than Perl for this. Can't see an excuse for such a difference though.
>> Sent from my iPhone
>> erlang-questions mailing list
More information about the erlang-questions