My first Erlang program! - Journal of Omnifarious
Nov. 7th, 2009
02:49 pm - My first Erlang program!
I put my first Erlang program in a pastebin. It's a concurrent prime sieve. Likely not the most efficient way to do things, but I'm still all pleased with myself. :-)
I may or may not choose to program more sophisticated things in Erlang, but I figured a passing familiarity was in order. Especially since I'm thinking of using CouchDB for something and it's written in Erlang. While knowing Erlang isn't necessary to understand CouchDB, I figure that it certainly can't hurt.
Current Location: 1309 NE 45th St, 98105
Current Mood:
accomplished
![[mood icon]](https://www.livejournal.com/img/mood/growf/pengies/cool.gif)
Oh, when I last looked at it, which was a long time ago, it wasn't. It was also quite fussy and difficult to get running and often crashed.
I imagine that it is a whole lot better now.
Erlang actually encourages a style of programming for multi-threaded programs that is how I imagined my StreamModule system would work in a multi-threaded environment. I'm kind of impressed with it.
How did you come to know that ejabberd was written in Erlang? Have you ever hacked on it?
Edited at 2009-11-08 09:38 am (UTC)
Oh! Maybe I was thinking of djabberd when I was thinking of the picky and unstable one. I remember it was the first Jabber daemon that was widely available. Anyway, that makes sense. :-)