|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Erlang or OCamlHi.
Recently, I have been trying to learn a language other than Java. Erlang seems to be ready for the prime time (used in the commercial world). On the other side, OCaml seems to be a cool and capable language. I want to learn something useful and fun. Tell what do you think ? (if you are Erlang die-hard, please put this aside ;)) Deep into that darkness peering, long I stood there, wondering, fearing, Doubting, dreaming dreams no mortal ever dreamed before. E.A Poe
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more! _______________________________________________ erlang-questions mailing list erlang-questions@... http://www.erlang.org/mailman/listinfo/erlang-questions |
|
|
Re: Erlang or OCamlLearn both.
Mike Lone Wolf wrote: > Hi. > Recently, I have been trying to learn a language other than Java. > Erlang seems to be ready for the prime time (used in the commercial world). > On the other side, OCaml seems to be a cool and capable language. > I want to learn something useful and fun. > Tell what do you think ? > (if you are Erlang die-hard, please put this aside ;)) > > */Deep into that darkness peering, long I stood there, wondering, > fearing, Doubting, dreaming dreams no mortal ever dreamed before./* > */E.A Poe/* > *//* > *//* > > ------------------------------------------------------------------------ > Catch up on fall's hot new shows > <http://us.rd.yahoo.com/tv/mail/tagline/falltv/evt=47093/*http://tv.yahoo.com/collections/3658 > > on Yahoo! TV. Watch previews, get listings, and more! > > > ------------------------------------------------------------------------ > > _______________________________________________ > erlang-questions mailing list > erlang-questions@... > http://www.erlang.org/mailman/listinfo/erlang-questions erlang-questions mailing list erlang-questions@... http://www.erlang.org/mailman/listinfo/erlang-questions |
|
|
Re: Erlang or OCamlOn Oct 15, 2007, at 15:43 , Lone Wolf wrote: Recently, I have been trying to learn a language other than Java. Why choose? I've learned a lot from each language. I do admit that I've shipped more ocaml code than erlang code, though. ocaml is great for building utilities and erlang is great for building systems. It really depends on your task. OTP really seems to me like what java wants to be when it grows up. -- Dustin Sallings _______________________________________________ erlang-questions mailing list erlang-questions@... http://www.erlang.org/mailman/listinfo/erlang-questions |
|
|
Re: Erlang or OCamlI'm going through the same search myself. I haven't decided, so until
I do, I'm playing with both. And Haskell. With some Scala thrown in. =) On 10/15/07, Lone Wolf <hubaghdadi@...> wrote: > Hi. > Recently, I have been trying to learn a language other than Java. > Erlang seems to be ready for the prime time (used in the commercial world). > On the other side, OCaml seems to be a cool and capable language. > I want to learn something useful and fun. > Tell what do you think ? > (if you are Erlang die-hard, please put this aside ;)) > > > > Deep into that darkness peering, long I stood there, wondering, fearing, > Doubting, dreaming dreams no mortal ever dreamed before. > E.A Poe > > > > ________________________________ > Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, > and more! > > > _______________________________________________ > erlang-questions mailing list > erlang-questions@... > http://www.erlang.org/mailman/listinfo/erlang-questions > erlang-questions mailing list erlang-questions@... http://www.erlang.org/mailman/listinfo/erlang-questions |
|
|
Re: Erlang or OCamlOn 10/15/07, Lone Wolf <hubaghdadi@...> wrote:
> Hi. > Recently, I have been trying to learn a language other than Java. > Erlang seems to be ready for the prime time (used in the commercial world). > On the other side, OCaml seems to be a cool and capable language. > I want to learn something useful and fun. > Tell what do you think ? > (if you are Erlang die-hard, please put this aside ;)) > When I was evaluating Python alternatives for building the core technology behind MochiAds I tried out a bunch of languages and Erlang was the only one that was easy for me to learn and had the right balance of features, performance, and reliability. A year later we have about 16 machines running 80 Erlang nodes powering about 16 different "components" of our infrastructure and 4 people working on it at the moment (originally it was just me). It worked out so well that we rewrote the server component of our MochiBot service in Erlang and we've been using it to build lots of internal tools such as our monitoring software, our single sign-on service, etc. as well. None of us had previous Erlang experience, but we're all very comfortable with it now. After about a year with Erlang, I'm not sure I could part with hot code loading, light-weight processes, and multiplexed socket IO for writing servers. Also, Mnesia has been really useful to us to temporarily store "real-time" data (ram_copies) so that we don't have to make users wait for it to get batched into the SQL databases. The distribution stuff mostly Just Works once you figure out how to set it up (though we did have one bad experience with a network partition due to a switch acting up, it was recoverable manually). O'Caml is a useful language too, but for writing a network app I can't really imagine going with anything but Erlang if you're looking for redundancy and scale. Unless you want to write your own half-baked Erlang-like system before even trying to solve something a little closer to your actual problem domain. -bob _______________________________________________ erlang-questions mailing list erlang-questions@... http://www.erlang.org/mailman/listinfo/erlang-questions |
|
|
Re: Erlang or OCamlThe short version is that they're both good languages.
If raw, single-processor speed was key for me, then I'd use OCaml. Ditto for problems that make heavy use of array updates (like image processing). I also program in C and Forth, so I might use one of those, depending on the situation. That said, I typically use Erlang as my personal project language--this *is* an Erlang mailing list, after all--for two reasons. First, the core language agrees with me more: dynamic typing, binaries, overall syntax. Second, Erlang is a better fit for the modern world: lightweight processes, ability to reload code while an application is running (wonderful for development!). I spent quite a bit of time back in 1998-9 or so evaluating Haskell, Erlang, OCaml, SML/NJ, Lisp, etc., and have stuck with Erlang since then. _______________________________________________ erlang-questions mailing list erlang-questions@... http://www.erlang.org/mailman/listinfo/erlang-questions |
|
|
Re: Erlang or OCamlErlang/OCaml/Haskell belong to the same language family - if you learn any one
of them then learning the next one in the family will be a lot easier than starting from scratch. These language differ - but have the same core concepts - the idea of immutable state - programming with immutable state is the thing that you need to learn. The details of how you do this vary from language to language (you can use processes with tail recursion to model state in Erlang, or monads in haskell, etc.). I'd start with the language that most suits your problem domain - a rough guess might be to think of these languages as follows: OCaml - use as a replacement for C - good for implementing virtual machine emulators tightly coded non-distributed applications. Erlang - use as a replacement for Java - good for programming distributed fault-tolerant applications - good support for multicores/concurrency. Good as a glue language to glue together components co-ordinate activities on different machines etc. Haskell - use for implementing domain specific languages, symbolic computations etc. Asking which is best is like asking which is best out of C++/java/C# or perl/python/ruby Languages come in 3-packs - learn any one then learning the others is easy - similar ideas different packaging. /Joe Armstrong On 10/16/07, Lone Wolf <hubaghdadi@...> wrote: > Hi. > Recently, I have been trying to learn a language other than Java. > Erlang seems to be ready for the prime time (used in the commercial world). > On the other side, OCaml seems to be a cool and capable language. > I want to learn something useful and fun. > Tell what do you think ? > (if you are Erlang die-hard, please put this aside ;)) > > > > Deep into that darkness peering, long I stood there, wondering, fearing, > Doubting, dreaming dreams no mortal ever dreamed before. > E.A Poe > > > > ________________________________ > Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, > and more! > > > _______________________________________________ > erlang-questions mailing list > erlang-questions@... > http://www.erlang.org/mailman/listinfo/erlang-questions > erlang-questions mailing list erlang-questions@... http://www.erlang.org/mailman/listinfo/erlang-questions |
|
|
Re: Erlang or OCamlGreat thread, highly informative for anyone considering switching to Erlang, it even inspired me to summarize this thread in an extended blog post:
http://www.rsaccon.com/2007/10/why-erlang.html On 10/15/07, Michael Vanier <mvanier@...> wrote: Learn both. -- Roberto Saccon http://rsaccon.com _______________________________________________ erlang-questions mailing list erlang-questions@... http://www.erlang.org/mailman/listinfo/erlang-questions |
| Free Forum Powered by Nabble | Forum Help |