Bob La Quey wrote:
On Sun, Jun 15, 2008 at 7:08 PM, Gus Wirth <[EMAIL PROTECTED]> wrote:
Bob La Quey wrote:
[snip]
For your amusement here is a FOSS twitter server written in Erlang.

http://yarivsblog.com/articles/2008/05/28/announcing-twoorl-an-open-source-erlyweb-based-twitter-clone/

Maybe this is the next Apache :)
Erlang! Cool, I'm studying Erlang from the "Programming Erlang: Software for
a Concurrent World" book by Joe Armstrong that I got at one of the raffles
(need to write a book report). Erlang is a great language for doing
protocols.

Uh, yeah. Erlang is good for protocols like no other language I have ever seen. In particular, the main programming paradigms map to state machines phenomenally well. And, Erlang has a *great* way of reading and writing binary blobs of bits and bytes.


Gus

I suspect this application is a particularly good use of Erlang. So
probably a good way to learn Erlang. If, that is, the guy who wrote it
is any good. Always a proviso no matter what the language or application.

Yariv seems pretty good from reading his writings.

The only caveat I would give is that Twoorl doesn't really do what Twitter does with the views and stuff.

Twitter is a nasty application to have to architect. The way they set it up--everybody has their own view of the Tweets. Consequently, the system winds up with an O(N^2) storm of stores and reads.

Think about the problems that IRC would have if it was required to store all conversations and replay the whole thing everytime someone logged on.

Twiiter is effectively IRC with persistence.  And that makes it *hard*.

-a


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to