
Erlang Programming Language
Programming Throwdown
00:00
Erlang - Message Passing
In C++, you can never really be sure that your position is not being modified by someone else. Erlang doesn't have data just sitting out there; it's all part of a function. And as you pass data from one function to the other, you actually capsalize the data into a message and pass that message. The actor model says instead of allowing shared state, we're basically gonna forbid it. That's gonna cause some interesting implications, both good and bad if you don't share in state.
Transcript
Play full episode