| Author |
Message |
< Erlang ~ Why Erlang over an MPI library for C? |
| darkolee |
Posted: Sun Jan 10, 2010 1:58 am |
|
|
|
User
Joined: 02 Dec 2009
Posts: 12
|
I can't figure out why exactly one would choose Erlang over an MPI library for C (such as openMP). Performance wise, I think the C program should be faster no? So what benefits would I gain by using Erlang?
Why did for example amazon choose Erlang for their simpleDB - I'm sure there is some really valid reason which I am missing...
Thanks a lot |
|
|
| Back to top |
|
| Urbank |
Posted: Sat Jan 16, 2010 5:17 pm |
|
|
|
Joined: 20 Dec 2009
Posts: 4
|
Erlang programs are easier to debug and have better reliability.
Compared with OpenMP, The Erlang programming style does not use shared memory.
I guess that once you have learned the Erlang way of parallel programming, you could apply it to your C/C++ programs. |
|
|
| Back to top |
|
| darkolee |
Posted: Sat Jan 16, 2010 6:41 pm |
|
|
|
User
Joined: 02 Dec 2009
Posts: 12
|
What do you mean when you say it can be more reliable?
Moreover openMP is a Message Passing Interface implementation and hence it should not use shared memory no? |
|
|
| Back to top |
|
| rvirding |
Posted: Mon Jan 18, 2010 12:34 am |
|
|
|
User
Joined: 30 Aug 2006
Posts: 452
Location: Stockholm, Sweden
|
darkolee wrote: What do you mean when you say it can be more reliable?
Moreover openMP is a Message Passing Interface implementation and hence it should not use shared memory no?
Just because it is a message passing interface does not mean that it does not have shared memory. It could very well allow sending pointers in messages and the receiver could access memory through the pointer.
However, the real cruncher is not really just shared memory but shared mutable memory, that's where the problems lie. Whether erlang copies data when sending messages is actually an implementation detail, but all data in erlang is immutable. This is the Big Win.
Now you can do it in C but it is not enforced and once you break the rule you are lost. |
|
|
| Back to top |
|
| wuji |
Posted: Sat Aug 25, 2012 8:54 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
ram the ship, killing 17 American sailors.Word of the shooting shooting discount designer *beep* shooting comes on the same day that the Pentagon confirmed
it had agreed to a recent request from U.S. Central Central [h3]cheap Ralph Lauren Polo[/h3] Central Command to maintain a two carrier presence in the
East.The carrier U.S.S. John C. Stennis has been ordered to to cheap louboutins to head to the region four months ahead of schedule
September to replace the outgoing U.S.S. Enterprise. A A cheap designer *beep* A Pentagon spokesman said the Stennis is being sent so
there is no gap in between two carrier assignments to to replica designer *beep* to the region.On Sunday, the U.S.S. Eisenhower replaced the
Abraham Lincoln in the region. By replacing the Enterprise, Enterprise, [h4]discount designer *beep*[/h4] Enterprise, the U.S. will now be able to avoid having |
|
|
| Back to top |
|
| dongdongwu |
Posted: Thu Sep 20, 2012 2:12 am |
|
|
|
User
Joined: 19 Sep 2012
Posts: 236
|
His good friend Diane said: "Christian Louboutin Men Shoes was a magician, he make shoes is immediately put his female people with legs and advantage. He understands women wanted to do and can make them into beautiful Cinderella." Madonna often in its concert wearing Christian louboutin high heels , and some famous superstar like Angelina jolie, mariah Carey, beyonce Knowles, the famous Japanese singer YaYouMei Hamasaki helps Christian Louboutin Men Shoes set up its powerful position. The youngest customers will count Tom cruise's daughter sully cruz. Louboutin made for only a pair of handmade Christian Louboutin high heel Shoes! Want to be more fashion? Put on Christian Louboutin Outlet !
Candy colors of the chalaza high-heeled shoes with lolita type allure, set full finely gem blue "neon shoes" is to need to use "sexy" to describe. Each pair are worth careful appreciation of lithe and graceful fairy ludaoli, what kind of most let you move?Christian Louboutin Men Shoes that one brush red is always cannot resist the temptation, Christian Louboutin men outlet continue to use the days of high 8cm above slender heel proclaim the sexy and luxuriant. The bowknot on black pointed high-heeled shoes with sharp rivet concomitant, wild python met enchanting color printing grain, It is that pairs of high-heeled shoes lets Carrie more feminine flavour. Like Christian Louboutin for men her word. |
|
|
| Back to top |
|
|
|