News for hackers. Stuff that matters.
Re:Erlang: A New Way to Program That's 20 Years Old by jgrahamc on Thursday December 20, 2007 @11:05AM (#91510)
The problem with a web server is that I'm not sure there's much interesting inter-process communication which I think is where erlang would really shine. Sure you can spawn a lightweight process for each incoming connection, but after that?
Re:Erlang: A New Way to Program That's 20 Years Old by simpleenigma on Thursday December 20, 2007 @11:47AM (#91525)
The things you would end up learning about Erlang while writing a web server aren't as much about processes but more about pattern matching.

Most people focus on Erlang as an easy way for multi-core/multiprocessor and distributed computing and it is wonderful at that, but the core of the language is a pattern matching engine that is simply amazing.

Also, anyone who thinks that Erlang is slow with regular expression should convert the regular expressions into a binary and try some pattern matching. That tends to be more of the Erlang Way of doing things ...

Re:Erlang: A New Way to Program That's 20 Years Old by DarrenStuart on Thursday December 20, 2007 @11:17AM (#91517)
true, but what about a comet one? that way its doing a little more than serving up data.
Re:Erlang: A New Way to Program That's 20 Years Old by pius on Thursday December 20, 2007 @08:26PM (#91629)
Re:Erlang: A New Way to Program That's 20 Years Old by simpleenigma on Thursday December 20, 2007 @11:42AM (#91522)
A friend of mine is working on a comet server in Erlang at http://code.google.com/p/erlycomet/
Re:Erlang: A New Way to Program That's 20 Years Old by DarrenStuart on Friday December 21, 2007 @06:52AM (#91715)
that looks pretty smart. Anyone know what the hardware to connections ratio is for it?