6 ms·
Killer Apps may include: CouchDB, Riak, Whatsapp, RabbitMQ, Amazon SimpleDB, etc. You can also go for specific companies that are using it like telco stuff (Eri
by mononcqc 12y ago
Killer Apps may include: CouchDB, Riak, Whatsapp, RabbitMQ, Amazon SimpleDB, etc. You can also go for specific companies that are using it like telco stuff (Ericsson, T-Mobile, Motorola), Yahoo, OpenX, Huffington Post, Amazon, and so on.
- general_failure 12y agoI just picked a random file in RabbitMQ to see how erlang looks like - https://github.com/rabbitmq/rabbitmq-server/blob/master/src/file_handle_cache.erl https://github.com/rabbitmq/rabbitmq-server/blob/master/src/... Then I thought of looking into something I might understand: https://github.com/apache/couchdb/blob/master/src/couchdb/couch_btree.erl https://github.com/apache/couchdb/blob/master/src/couchdb/co... The syntax is indeed scary. Unless erlang provides features that are overwhelmingly compelling that I just cannot live without, I cannot imagine coding in it. Go seems more approachable.
- saraid216 12y agoYou might check out Elixir. Which is, crudely framed, making the syntax less Prolog-y while still running on top of the BEAM and OTP. http://elixir-lang.org/ http://elixir-lang.org/
- SoftwareMaven 12y agos/understandable/familiar/ Go is based on C, so of course it is more familiar to many people, as most popular languages share that root (something for language designers to at least ponder). Lisps are hard to follow, too, if you aren't familiar with s-exp languages. If you had a prolog background, Erlang wouldn't feel nearly as overwhelming. The hardest parts about understanding Erlang programs, IMO, are understanding message passing (already there with Go), supervisors, and managing state in a stateless system (the latter two aren't what I'd consider common idioms in other languages (though supervisors are easy to reason about due to operating systems). Understanding the syntax is something a short afternoon can resolve.
- forgottenpass 12y agoNo idea at all why you're downvoted. I came to erlang after spending years working on a C++, actor model, message passing codebase. Unsurprisingly (although it was to me at the time) I felt quite at home. The difficulty came from the new syntax and Erlang-style control flow. And as you say, those are entirely a matter of familiarity. I still find python to be more readable and writable, but by no means does that imply Erlang is not understandable.
- pessimizer 12y agoIt's not scary, it just doesn't look like C. It's really simple to read if you learn the basics.
- vertex-four 12y agoTo be fair, Erlang actually has much less syntax than any other language I've seriously used. It's just not C-like, for historical reasons. It's remarkably terse, but readable (after learning the basics), which is quite interesting. I suggest flicking through Learn You Some Erlang[0] to understand some of it... don't skip the chapters on OTP, which is pretty much necessary to understand how an Erlang program is organised. [0] http://learnyousomeerlang.com/content http://learnyousomeerlang.com/content
- EdwardDiego 12y agoHowever AFAIK Couchbase 2.0+ is moving away from Erlang to C++.